Skip to content

Instantly share code, notes, and snippets.

Avatar

Ben Browning bbrowning

  • Red Hat
  • Brevard, NC
View GitHub Profile
View jim.txt
/home/jim/.local/share/gnome-shell/extensions:
total used in directory 40 available 35151712
drwxrwxr-x. 10 jim jim 4096 Jul 5 09:32 .
drwx------. 3 jim jim 4096 Aug 21 12:46 ..
drwxrwxr-x. 4 jim jim 4096 Jul 5 09:31 alternative-status-menu@gnome-shell-extensions.gcampax.github.com
drwxrwxr-x. 2 jim jim 4096 Jul 5 09:32 battery-power-statistics-shortcut@l300lvl.co.nr
drwxrwxr-x. 4 jim jim 4096 Jul 5 09:29 mediaplayer@patapon.info
drwxrwxr-x. 2 jim jim 4096 Jul 5 09:29 quitbutton@azathoth92.hotmail.it
drwxrwxr-x. 2 jim jim 4096 May 9 16:12 removeaccesibility@lomegor
drwxrwxr-x. 4 jim jim 4096 May 9 16:26 system-monitor@paradoxxx.zero.gmail.com
View TorqueBox on Heroku.md

With Heroku's JRuby support you may have already seen that you can run TorqueBox Lite on Heroku. But, that only gives you the web features of TorqueBox. What about scheduled jobs, backgroundable, messaging, services, and caching?

With a small amount of extra work, you can now run the full TorqueBox (minus STOMP support and clustering) on Heroku as well! I've successfully deployed several test applications, including the example Rails application from our Getting Started Guide which has a scheduled job, a service, and uses backgroundable and messaging.

This example uses TorqueBox 3.0.2, but the instructions may work with other TorqueBox versions.

Steps Required

  1. Create a JRuby application on Heroku, or convert an existing application to JRuby. Make sure your application works on JRuby on Heroku before throwing TorqueBox into the mix.
  2. Add th
View TorqueBox Lite on Heroku.md

TorqueBox Lite is a web-only, smaller cousin to TorqueBox. It doesn't support scheduled jobs, messaging, services, or any of the other non-web features of TorqueBox. What you do get is the great web performance of TorqueBox in a smaller package. Now that Heroku officially supports JRuby, it's easy to choose TorqueBox Lite as your web server.

Make sure you've created a JRuby application on Heroku and then simply add 'torquebox-lite' to your Gemfile and Procfile as shown below.