Create your (JRuby) application. If you don’t have a JRuby application, choose our ToDo application located at: git://github.com/engineyard/todo.git
Reconfigure the environment for JRuby
This procedure applies only to using JRuby on the trial account.
The trial was set up with a streamlined workflow that automatically creates a Ruby-based environment. To work around this, you stop the environment, reconfigure it as a JRuby one, and then boot the JRuby environment.
To reconfigure the environment for JRuby
Make sure that the instance is loaded (that the indicator light is green).
Click Stop to stop the environment.
On the Environment, click Edit Environment.
On the Edit the Environment page, set Application Server Stack to Trinidad. The Runtime defaults to JRuby 1.6.5 compatible with Ruby 1.8.7. For JRuby compatible with Ruby 1.9.2, set the Runtime to JRuby 1.6.5 (ruby–1.9.2-p136). Note: If you can’t edit the Application Server Stack, make sure that you have stopped the environment. Only stopped environments can be edited.
Click Update Environment.
On the Environment page, click Boot. This boots the JRuby environment for your application.
Click HTTP to visit the application.
Modify and redeploy your application.
If you have feedback or questions about this page, add a comment below. If you need help, submit a ticket with Engine Yard Support.