Skip to content
An example of a Rack application for dpeloyment on JRuby, Trinidad and Heroku
Pull request Compare This branch is 1 commit behind jkutner:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

JRuby, Trinidad and Heroku

This is an example of a Rack application that can be deployed to Heroku on JRuby and Trinidad.

Getting Started

To deploy this application you'll need to do the following:

$ git clone git://
$ BUNDLE_GEMFILE=Jemfile bundle
$ gem install heroku
$ heroku create --stack cedar --buildpack
$ git push heroku master


The most important parts of this project are:

  • pom.xml - this is a Maven config file that can be copied as is (in most cases).
  • Jemfile - a renamed Gemfile so that Heroku doesn't think this is an MRI app.
  • Procfile - a Heroku config file with instructions for running the app.
  • script/jruby - a modified jruby executable for the Heroku platform.
  • - the application itself (can be replaced with any Rack app)
Something went wrong with that request. Please try again.