Project

General

Profile

Upgrading from 1.2.1 --> 2.5.2

Added by Christian Damen over 10 years ago

Hi there,

I'm hoping to find some help here as I'm stuck now for almost three days trying to migrate Redmine from 1.2.1 to 2.5.2.

My Configuration:

  • Ruby version Manager 1.25.28 (currently latest)
  • Ruby 1.9.3-p547 [ amd64 ]
  • Server: Linux Blade 3.0.93-0.8 x86_64 32Gb Ram (SUSE Linux)
  • Container: Apache Tomcat 6.0.18
  • Database: 5.5.33 SUSE MySQL package
I've worked down all the steps from the migration guide :
  • backed up database
  • downloaded release 2.5.2 from here
  • copied database.yml & configuration.yml
  • corrected mysql adapter names in database.yml
  • did a bundle install for production environment
  • generated secret token
  • migrated database contents
  • cleaned up caches and sessions

Overall no errors, warnings or strange behaviour during the migration process. After that I warbled (warbler (1.4.4)) redmine in order to deploy it into Tomcat (6.0.18) (which was already running Redmine 1.2.1 before). Warbler did its work and I deployed the war file. Still Ok, but when I open up the application in my browser there is a two step error output:

1st call:

SCHWERWIEGEND: ERROR: initialization failed
org.jruby.rack.RackInitializationException: undefined method 'leaf?' for module 'CollectiveIdea::Acts::NestedSet::Model'
    from org/jruby/RubyModule.java:2316:in `alias_method'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/activesupport-3.2.19/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method_chain'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/config/initializers/10-patches.rb:215:in `Model'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/config/initializers/10-patches.rb:211:in `NestedSet'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/config/initializers/10-patches.rb:210:in `Acts'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/config/initializers/10-patches.rb:209:in `CollectiveIdea'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/config/initializers/10-patches.rb:208:in `(root)'
    from org/jruby/RubyKernel.java:1081:in `load'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:1:in `(root)'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:in `load_dependency'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in `load'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in `load'
    from org/jruby/RubyArray.java:1613:in `each'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/engine.rb:593:in `Engine'
    from org/jruby/RubyBasicObject.java:1562:in `instance_exec'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/engine.rb:592:in `Engine'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/initializable.rb:30:in `run'
    from org/jruby/RubyArray.java:1613:in `each'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/initializable.rb:55:in `run_initializers'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/initializable.rb:54:in `run_initializers'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/application.rb:136:in `initialize!'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/railtie/configurable.rb:30:in `method_missing'
    from org/jruby/RubyKernel.java:1065:in `require'
    from /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/config/environment.rb:14:in `(root)'
    from file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/lib/jruby-rack-1.1.14.jar!/jruby/rack/rails/environment3.rb:1:in `(root)'
    from file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/lib/jruby-rack-1.1.14.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:104)
    at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.jruby.exceptions.RaiseException: (NameError) undefined method 'leaf?' for module 'CollectiveIdea::Acts::NestedSet::Model'
    at org.jruby.RubyModule.alias_method(org/jruby/RubyModule.java:2316)
    at RUBY.alias_method_chain(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/activesupport-3.2.19/lib/active_support/core_ext/module/aliasing.rb:31)
    at RUBY.Model(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/config/initializers/10-patches.rb:215)
    at RUBY.NestedSet(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/config/initializers/10-patches.rb:211)
    at RUBY.Acts(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/config/initializers/10-patches.rb:210)
    at RUBY.CollectiveIdea(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/config/initializers/10-patches.rb:209)
    at RUBY.(root)(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/config/initializers/10-patches.rb:208)
    at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1081)
    at RUBY.(root)(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:1)
    at ActiveSupport::Dependencies::Loadable.load_dependency(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236)
    at RUBY.load(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245)
    at RUBY.load(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245)
    at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
    at RUBY.Engine(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/engine.rb:593)
    at org.jruby.RubyBasicObject.instance_exec(org/jruby/RubyBasicObject.java:1562)
    at RUBY.Engine(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/engine.rb:592)
    at RUBY.run(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/initializable.rb:30)
    at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
    at RUBY.run_initializers(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/initializable.rb:55)
    at RUBY.run_initializers(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/initializable.rb:54)
    at RUBY.initialize!(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/application.rb:136)
    at RUBY.method_missing(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/gems/gems/railties-3.2.19/lib/rails/railtie/configurable.rb:30)
    at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065)
    at RUBY.(root)(/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/config/environment.rb:14)
    at RUBY.(root)(file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/lib/jruby-rack-1.1.14.jar!/jruby/rack/rails/environment3.rb:1)
    at RUBY.load_environment(file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/cobra-tt/WEB-INF/lib/jruby-rack-1.1.14.jar!/jruby/rack/rails/environment3.rb:25)
28.07.2014 16:39:06 org.apache.catalina.core.ApplicationContext log
INFO: INFO: jruby 1.7.13 (1.9.3p392) 2014-06-24 43f133c on Java HotSpot(TM) 64-Bit Server VM 1.6.0_24-b07 [linux-amd64]
28.07.2014 16:39:06 org.apache.catalina.core.ApplicationContext log
INFO: INFO: using : runtime pool with acquire timeout of 10.0 seconds
28.07.2014 16:39:07 org.apache.catalina.core.ApplicationContext log
INFO: INFO: jruby 1.7.13 (1.9.3p392) 2014-06-24 43f133c on Java HotSpot(TM) 64-Bit Server VM 1.6.0_24-b07 [linux-amd64]
28.07.2014 16:39:07 org.apache.catalina.core.ApplicationContext log
INFO: INFO: using : runtime pool with acquire timeout of 10.0 seconds
28.07.2014 16:39:07 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
28.07.2014 16:39:07 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
28.07.2014 16:39:17 org.apache.catalina.core.ApplicationContext log
INFO: INFO: pool was empty - getting new application instance
28.07.2014 16:39:23 org.apache.catalina.core.ApplicationContext log
INFO: An exception happened during JRuby-Rack startup

2nd call:

Could not find gem 'activerecord-jdbc-adapter (~> 1.2.6) java' in the gems available on this machine.
--- System
jruby 1.7.13 (1.9.3p392) 2014-06-24 43f133c on Java HotSpot(TM) 64-Bit Server VM 1.6.0_24-b07 [linux-amd64]
Time: 2014-07-28 16:39:23 +0200
Server: Apache Tomcat/6.0.18
jruby.home: file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/lib/jruby-stdlib-complete-1.7.13.jar!/META-INF/jruby.home

--- Context Init Parameters:
public.root = /
rails.env = production

--- Backtrace
Bundler::GemNotFound: Could not find gem 'activerecord-jdbc-adapter (~> 1.2.6) java' in the gems available on this machine.
           resolve at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/resolver.rb:357
             start at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/resolver.rb:164
           resolve at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/resolver.rb:129
           resolve at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/definition.rb:203
             specs at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/definition.rb:133
         specs_for at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/definition.rb:178
   requested_specs at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/definition.rb:167
   requested_specs at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/environment.rb:18
             setup at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/runtime.rb:13
             setup at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler.rb:120
            (root) at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/setup.rb:17
           require at org/jruby/RubyKernel.java:1065
            (root) at file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/lib/jruby-stdlib-complete-1.7.13.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
           require at file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/lib/jruby-stdlib-complete-1.7.13.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:135
           require at org/jruby/RubyKernel.java:1065
            (root) at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/config/boot.rb:6
            (root) at file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/lib/jruby-stdlib-complete-1.7.13.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
           require at file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/lib/jruby-stdlib-complete-1.7.13.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55
  load_environment at file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/lib/jruby-rack-1.1.14.jar!/jruby/rack/rails/environment3.rb:23

--- RubyGems
Gem.dir: /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems
Gem.path:
/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems
Activated gems:
  bundler-1.6.5

--- Bundler
Bundler.bundle_path: /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems
Bundler.root: /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF
Gemfile: /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/Gemfile
Settings:
  gemfile = /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/Gemfile
  without = development:test:assets

--- JRuby-Rack Config
compat_version = 
default_logger = org.jruby.rack.logging.StandardOutLogger@466de78a
equals = <error: >
err = org.apache.tomcat.util.log.SystemLogHandler@304e28a6
filter_adds_html = true
filter_verifies_resource = false
ignore_environment = false
initial_memory_buffer_size = 
initial_runtimes = 
jms_connection_factory = 
jms_jndi_properties = 
logger = org.jruby.rack.logging.ServletContextLogger@6a8bda08
logger_class_name = servlet_context
logger_name = jruby.rack
maximum_memory_buffer_size = 
maximum_runtimes = 
num_initializer_threads = 
out = org.apache.tomcat.util.log.SystemLogHandler@304e28a6
rackup = 
rackup_path = 
rewindable = true
runtime_arguments = 
runtime_environment = 
runtime_timeout_seconds = 
serial_initialization = false
servlet_context = org.apache.catalina.core.ApplicationContextFacade@7342f820
throw_init_exception = false

28.07.2014 16:39:23 org.apache.catalina.core.ApplicationContext log
INFO: DEBUG: resetting rack response due exception
28.07.2014 16:39:47 org.apache.catalina.core.ApplicationContext log
INFO: INFO: pool was empty - getting new application instance
28.07.2014 16:39:49 org.apache.catalina.core.ApplicationContext log
INFO: An exception happened during JRuby-Rack startup
Could not find gem 'activerecord-jdbc-adapter (~> 1.2.6) java' in the gems available on this machine.
--- System
jruby 1.7.13 (1.9.3p392) 2014-06-24 43f133c on Java HotSpot(TM) 64-Bit Server VM 1.6.0_24-b07 [linux-amd64]
Time: 2014-07-28 16:39:49 +0200
Server: Apache Tomcat/6.0.18
jruby.home: file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/lib/jruby-stdlib-complete-1.7.13.jar!/META-INF/jruby.home

--- Context Init Parameters:
public.root = /
rails.env = production

--- Backtrace
Bundler::GemNotFound: Could not find gem 'activerecord-jdbc-adapter (~> 1.2.6) java' in the gems available on this machine.
           resolve at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/resolver.rb:357
             start at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/resolver.rb:164
           resolve at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/resolver.rb:129
           resolve at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/definition.rb:203
             specs at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/definition.rb:133
         specs_for at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/definition.rb:178
   requested_specs at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/definition.rb:167
   requested_specs at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/environment.rb:18
             setup at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/runtime.rb:13
             setup at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler.rb:120
            (root) at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems/gems/bundler-1.6.5/lib/bundler/setup.rb:17
           require at org/jruby/RubyKernel.java:1065
            (root) at file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/lib/jruby-stdlib-complete-1.7.13.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
           require at file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/lib/jruby-stdlib-complete-1.7.13.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:135
           require at org/jruby/RubyKernel.java:1065
            (root) at /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/config/boot.rb:6
            (root) at file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/lib/jruby-stdlib-complete-1.7.13.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
           require at file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/lib/jruby-stdlib-complete-1.7.13.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55
  load_environment at file:/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/lib/jruby-rack-1.1.14.jar!/jruby/rack/rails/environment3.rb:23

--- RubyGems
Gem.dir: /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems
Gem.path:
/opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems
Activated gems:
  bundler-1.6.5

--- Bundler
Bundler.bundle_path: /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/gems
Bundler.root: /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF
Gemfile: /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/Gemfile
Settings:
  gemfile = /opt/cobra-system/redmine-cobra-tt/tomcat-6.0.18/webapps/redmine-2.3.4/WEB-INF/Gemfile
  without = development:test:assets

--- JRuby-Rack Config
compat_version = 
default_logger = org.jruby.rack.logging.StandardOutLogger@6f824c0c
equals = <error: >
err = org.apache.tomcat.util.log.SystemLogHandler@304e28a6
filter_adds_html = true
filter_verifies_resource = false
ignore_environment = false
initial_memory_buffer_size = 
initial_runtimes = 
jms_connection_factory = 
jms_jndi_properties = 
logger = org.jruby.rack.logging.ServletContextLogger@6a8bda08
logger_class_name = servlet_context
logger_name = jruby.rack
maximum_memory_buffer_size = 
maximum_runtimes = 
num_initializer_threads = 
out = org.apache.tomcat.util.log.SystemLogHandler@304e28a6
rackup = 
rackup_path = 
rewindable = true
runtime_arguments = 
runtime_environment = 
runtime_timeout_seconds = 
serial_initialization = false
servlet_context = org.apache.catalina.core.ApplicationContextFacade@7342f820
throw_init_exception = false

After some unsuccessful hours I also tried some alternative minor versions like 2.3.4 but the error message was always the same.

I'll be very very very thankful for any advice on how to resolve this issue.

Thanks

Kris