Skip to content


Subversion checkout URL

You can clone with
Download ZIP
An example of a Rack application for dpeloyment on JRuby, Trinidad and Heroku
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
script tweaked jruby script
Jemfile initial import
Jemfile.lock initial import
Procfile initial import Corrected typo in bundler Gemfile configuration. initial import
pom.xml initial import

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.