A sample JRuby on Rails 4 application with simple build script to compile a WAR.

The purpose of this project is to serve as a template for Rails 4 apps on JRuby.

Requirements

Java SDK 1.7

RVM

JRuby

bash

To Build

Clone the repository chmod +x ./build.sh ./build.sh

Launching the WAR

There are two tested methods for launching the WAR:

'java -jar jruby_on_rails_sample_app.war' - this launches the WAR and binds to localhost:8080. Deploy to Tomcat using the standard manager or by placing this WAR in the your 'webapps' folder.

Renaming your App

Please use the following gem to rename (and automatically refactor) your Rails app name: The rename gem by moshedalam

Remove and add a new origin for your git repository. Re-run ./build.sh or push all of your code, etc.

Contributions

Fork the repository. Checkout a feature branch. Write passing tests. Push to your branch. Send me a pull request.

License

A LICENSE file is included in the project, and any code/assets - unless otherwise noted - are released under the MIT license (c) 2014 Ramon J. Long III.