From: Bahaw Anyone Date: 2008-10-17T02:49:56+09:00 Subject: Re: Problem with warbler Nick Sieger wrote: > On Thu, Oct 16, 2008 at 12:20 PM, Bahaw Anyone wrote: >> >> Missing the Rails 2.1.1 gem. Please `gem install -v=2.1.1 rails`, update >> your RA >> ILS_GEM_VERSION setting in config/environment.rb for the Rails version >> you do ha >> ve installed, or comment out RAILS_GEM_VERSION to use the latest version >> install >> ed. > > Can you check if the Rails gem was included in your war file by doing > "jar tf myapp.war | grep rails" or similar? Also, feel free to stop by > the jruby lists to troubleshoot the problem further. > > Regards, > /Nick Nick, thanks for the reply. I tried that command, this is what I got. $ jar tf shoplet.war | grep rails images/rails.png WEB-INF/config/initializers/new_rails_defaults.rb I create my war using jruby -S warble war command. Also, below what I got from my log file which I think is related to this bug - http://www.nabble.com/Jruby-Tomcat-error-td17662084.html and http://jira.codehaus.org/browse/JRUBY-2507 Appreciate the help. ====================== SEVERE: Exception caught org.jruby.rack.RackInitializationException: exit from d:/tomcat/webapps/shoplet/WEB-INF/config/boot.rb:38:in `run' from file:/D:/tomcat/webapps/shoplet/WEB-INF/lib/jruby-rack-0.9.2.jar!/jruby/rack/rails_boot.rb:20:in `run' from d:/tomcat/webapps/shoplet/WEB-INF/config/boot.rb:11:in `boot!' from d:/tomcat/webapps/shoplet/WEB-INF/config/boot.rb:109 from d:/tomcat/webapps/shoplet/WEB-INF/config/boot.rb:11:in `require' from d:/tomcat/webapps/shoplet/WEB-INF/config/environment.rb:11 from d:/tomcat/webapps/shoplet/WEB-INF/config/environment.rb:29:in `load' from file:/D:/tomcat/webapps/shoplet/WEB-INF/lib/jruby-rack-0.9.2.jar!/jruby/rack/rails.rb:29:in `load_environment' from file:/D:/tomcat/webapps/shoplet/WEB-INF/lib/jruby-rack-0.9.2.jar!/jruby/rack/rails.rb:152:in `new' from