- Make sure you have the JRuby warbler gem installed.
- Create a warble config file from the root directory of your merb application. The command should look something like this:
jruby -S warble config. The file will be placed at config/warble.rb. - Edit line 55 of warble.rb to read:
config.webxml.booter = :merb - Edit line 33 of warble.rb to read:
config.gems = ["merb-core","merb-more"]. Add other required gems, if necessary. - At the root directory of your web application, run:
jruby -S warble. - Deploy the war.
2008 05 20