GoldSpike allows you to deploy your standard Rails web application to a J2EE server. You can package up your application as a WAR file for distribution, or simply run it in an expanded form. GoldSpike is a sub project of jruby-extras at RubyForge. The latest documentation for GoldSpike can be found at: http://www.headius.com/jrubywiki/index.php/Rails_Integration Quick start for an existing Rails application + Install the plugin and try it out script/plugin install svn://rubyforge.org/var/svn/jruby-extras/trunk/rails-integration/plugins/goldspike + Build a war file and run it in Jetty rake war:standalone:create rake war:standalone:run + Browse to http://localhost:8080/ Prerequisites for building GoldSpike + Install Maven 2 from Apache + The following gems: + Rake + Rails (version must match your application) + ActiveRecord-JDBC Building GoldSpike + Locate the gems for the tests Unix: export GEM_HOME=/usr/local/lib/ruby/gems/1.8 Windows: set GEM_HOME=c:\ruby\lib\ruby\gems\1.8 + Run "mvn install" This should compile, test, and install the GoldSpike JAR into your local maven repository. If you want to skip over the tests, use "mvn install -Dmaven.test.skip=true" Testing out the samples + Change into samples/helloworld-{rails version} + Run "rake war:standalone:run". This will run a web server, serving the helloworld Rails application from its current location. + Browse to http://localhost:8080/