An example of how to use the Ratpack web framework from JRuby.
$ git clone https://github.com/jkutner/ratpack-jruby-example
$ cd ratpack-jruby-example
$ jgem install jbundler bundler
$ jbundle install
$ bundle install --binstubs
$ export DATABASE_URL="postgres://localhost:5432/ratpack"
$ bin/rake db:migrate
$ jruby server.rb
$ heroku create --addons heroku-postgresql
$ git push heroku master
$ heroku run rake db:migrate
Apache v2