ruby on rails 3.2 - I am using warbler gem for creating war file for my ROR app -
war file created.but when deploy , run app,following exception thrown.
org.jruby.exceptions.raiseexception: (systemexit) exit @ org.jruby.rubykernel.exit(org/jruby/rubykernel.java:866) @ org.jruby.rubykernel.exit(org/jruby/rubykernel.java:829) @ ruby.(root)(d:/tomcat/apache-tomcat-6.0.37-windows-x64/apache-tomcat-6.0.37/webapps/rorcoupondemo/web-inf/gems/gems/bundler-1.3.5/lib/bundler/setup.rb:14) @ org.jruby.rubykernel.require(org/jruby/rubykernel.java:1054) @ ruby.(root)(jar:file:/d:/tomcat/apache-tomcat-6.0.37-windows-x64/apache-tomcat-6.0.37/webapps/rorcoupondemo/web-inf/lib/gems-gems-jruby-jars-1.7.4-lib-jruby-stdlib-1.7.4.jar!/meta-inf/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1) @ ruby.require(jar:file:/d:/tomcat/apache-tomcat-6.0.37-windows-x64/apache-tomcat-6.0.37/webapps/rorcoupondemo/web-inf/lib/gems-gems-jruby-jars-1.7.4-lib-jruby-stdlib-1.7.4.jar!/meta-inf/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:60) @ org.jruby.rubykernel.require(org/jruby/rubykernel.java:1054) @ ruby.(root)(d:/tomcat/apache-tomcat-6.0.37-windows-x64/apache-tomcat-6.0.37/webapps/rorcoupondemo/web-inf/config/boot.rb:6) @ ruby.(root)(jar:file:/d:/tomcat/apache-tomcat-6.0.37-windows-x64/apache-tomcat-6.0.37/webapps/rorcoupondemo/web-inf/lib/gems-gems-jruby-jars-1.7.4-lib-jruby-stdlib-1.7.4.jar!/meta-inf/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1) @ ruby.require(jar:file:/d:/tomcat/apache-tomcat-6.0.37-windows-x64/apache-tomcat-6.0.37/webapps/rorcoupondemo/web-inf/lib/gems-gems-jruby-jars-1.7.4-lib-jruby-stdlib-1.7.4.jar!/meta-inf/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36) @ ruby.load_environment(file:/d:/tomcat/apache-tomcat-6.0.37-windows-x64/apache-tomcat-6.0.37/webapps/rorcoupondemo/web-inf/lib/gems-gems-jruby-rack-1.1.13.2-lib-jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment3.rb:23)
i have configured jruby path in environment.my app using ruby v-1.9 , not jruby.
Comments
Post a Comment