I’m obviously a newbie to JRuby
I’m looking to develop a Ruby on Rails web application for a big
company. From an “run the engine” / deployment perspective, they don’t
support Ruby and the Ruby on Rails stack. Like most big companies, they
support Java and .NET deployments and from a Java perspective they use
Tomcat (they do have a ton of Weblogic but are trying to move everything
So, my understanding is that once everything is written, I can simple
Warbler to package everything up into a WAR file, give them the WAR file
it’s instantly deploy-able to their existing infrastructure/Tomcat
environments. They won’t need to do anything else like installing
Is that correct? That is, of course, assuming they have later versions
Tomcat (which they do).
On a side note… I was extremely impressed yesterday with the ease of
getting started with JRuby. A quick download/install, pointed RubyMine
JRuby and next thing I know I’m working easily. Copied over some
RoR code and “it just worked”.
Thanks and sorry for the newbie question!
I package my Rack and Rails apps into war files and deploy to Tomcat (on
a server that has no Jruby or ruby in general installed) and it “just
works”. It’s really great.
On Fri, Apr 29, 2011 at 9:01 AM, Jeffrey L. [email protected]
I package my Rack and Rails apps into war files and deploy to Tomcat (on a
server that has no Jruby or ruby in general installed) and it “just works”.
Just out of curiousity – what do you do about running migrations? or
script/runner tasks, standalone or via cron jobs?
Hassan S. ------------------------ [email protected]
I’m trying to figure out how to run a ‘rails runner’-type task with a
.war-file deployment of a rails 3 app?
Perhaps something like this:
java org.jruby.Main -w -S rails runner “Nightly.run”
View this message in context:
Sent from the JRuby - User mailing list archive at Nabble.com.