user2914486
user2914486

Reputation: 173

Generate WAR file for Ruby on Rails using JRuby

I am new to Ruby on rails.I need to generate War file using Jruby for an ROR application and deploy it on Tomcat.I need to implement this on windows environment. I know it might a basic question ,But any resources on how to do it would be really helpful.

Upvotes: 1

Views: 1157

Answers (1)

kares
kares

Reputation: 7166

  • gem install warbler # ----pre if you want to use JRuby 9K (not 1.7)--

UPDATE: Warbler 2.0 (JRuby 9K) has been released, for JRuby 1.7 use 1.x

  • (optional) warble config # to tune the .war generation at config/warble.rb

  • jruby -S warble # generates a .war file for you that you can deploy

Upvotes: 1

Related Questions