Dears, First sorry for my bad english, I'm trying to install a application, but have a lot of error, I'm using FreeBsd + Tomcat and the default pages are working correctly, but in my first .WAR install have the errors below:
org.jruby.rack.RackInitializationException: undefined method `+' for nil:NilClass from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/config/initializers/010_devise.rb:6:in `(root)' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/devise-2.2.8/lib/devise.rb:267:in `setup' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/config/initializers/010_devise.rb:3:in `(root)' from org/jruby/RubyKernel.java:1099:in `load' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:1:in `(root)' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:245:in `load' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:245:in `load' from org/jruby/RubyArray.java:1613:in `each' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/engine.rb:593:in `Engine' from org/jruby/RubyBasicObject.java:1565:in `instance_exec' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `run' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/engine.rb:592:in `Engine' from org/jruby/RubyArray.java:1613:in `each' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/initializable.rb:55:in `run_initializers' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `run_initializers' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/application.rb:136:in `initialize!' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in `method_missing' from org/jruby/RubyKernel.java:1083:in `require' from /usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/config/environment.rb:5:in `(root)' from file:/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/lib/gems-gems-jruby-rack-1.1.13.3-lib-jruby-rack-1.1.13.3.jar!/jruby/rack/rails/environment3.rb:1:in `(root)' from file:/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/lib/gems-gems-jruby-rack-1.1.13.3-lib-jruby-rack-1.1.13.3.jar!/jruby/rack/rails/environment3.rb:25:in `load_environment' at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:29) at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:98) at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4760) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5184) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1704) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `+' for nil:NilClass at RUBY.(root)(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/config/initializers/010_devise.rb:6) at RUBY.setup(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/devise-2.2.8/lib/devise.rb:267) at RUBY.(root)(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/config/initializers/010_devise.rb:3) at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1099) at RUBY.(root)(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:1) at ActiveSupport::Dependencies::Loadable.load_dependency(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236) at RUBY.load(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:245) at RUBY.load(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:245) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at RUBY.Engine(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/engine.rb:593) at org.jruby.RubyBasicObject.instance_exec(org/jruby/RubyBasicObject.java:1565) at Rails::Initializable::Initializer.run(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/initializable.rb:30) at RUBY.Engine(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/engine.rb:592) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at RUBY.run_initializers(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/initializable.rb:55) at RUBY.run_initializers(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/initializable.rb:54) at RUBY.initialize!(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/application.rb:136) at RUBY.method_missing(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/gems/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1083) at RUBY.(root)(/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/config/environment.rb:5) at RUBY.(root)(file:/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/lib/gems-gems-jruby-rack-1.1.13.3-lib-jruby-rack-1.1.13.3.jar!/jruby/rack/rails/environment3.rb:1) at RUBY.load_environment(file:/usr/local/apache-tomcat-8.0/webapps/ROOT/WEB-INF/lib/gems-gems-jruby-rack-1.1.13.3-lib-jruby-rack-1.1.13.3.jar!/jruby/rack/rails/environment3.rb:25) Any can help me ? Thanks to advance, Marco Aurélio Ventura da Silva marcoprod...@gmail.com Prodata Informática e Cadastro LTDA (33)3322-4444