July 2016
Intermediate to advanced
150 pages
4h 24m
English
Before making any changes to Twitalytics, create and check out a torquebox branch based on the jruby branch you created in Chapter 3, Deploying a Rails Application.
| | $ cd ~/code/twitalytics |
| | $ git checkout -b torquebox jruby |
Now you can add TorqueBox, which is distributed as both a gem and a binary file. You’ll use the gem, which you can install by replacing the Puma gem in your Gemfile with the TorqueBox gem. Add this line now and remove the puma entry:
| | gem "torquebox", "4.0.0.beta2" |
Then run Bundler to install TorqueBox and update the configuration:
| | $ bundle install --binstubs |
| | ... |
| | Installing torquebox-core 4.0.0.beta2 |
| | Installing torquebox-caching 4.0.0.beta2 ... |
Read now
Unlock full access