This TOTD (Tip Of The Day) shows how to install Rails 2.0.x in JRuby 1.0.3 and JRuby 1.1 RC1. Then it describes how a simple Rails application can be created and deployed using WEBrick.
First, lets deal with installing Rails 2.0.x in JRuby 1.0.3 and JRuby 1.1 RC1.
Step 1: How to install Rails 2.0.x in JRuby 1.0.3 ?
- Download and Unzip JRuby 1.0.3. This creates
- Install Rails by giving the following command in the newly
bin/jruby -S gem install rails --include-dependencies --no-ri --no-rdoc
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed rails-2.0.2
Successfully installed activesupport-2.0.2
Successfully installed activerecord-2.0.2