sivakrishna.m
Joined: 01 Jan 2008 Posts: 160 Location: Narsipatnam
|
Posted: Fri Sep 25, 2009 8:46 am Post subject: Using Rails with JRuby |
|
|
Using Rails with JRuby
======================
we can run the rails application with Ruby ,ok then how can we run the rails application with JRUBY with WEBrick server at script/server command. if you are in production mode you should go for "Glassfish" or "Tomcat" servers . Webrick is ok for development.
Just install the JRuby from the site "http://www.headius.com/jrubywiki/index.php/JRuby_on_Rails".
then configure the JRUBY_HOME path like below :
> $JRUBY_HOME/bin/gem install rails -y --no-ri --no-rdoc
after that install the rails which were needed version.
then run the application , now the JRUBY_HOME path will be collect the JRuby gems from that path to run the application.
> jruby script/server
Thank You,
Siva |
|