Created attachment 172791 [details] patch On a clean install of Redmine: App 82673 stdout: [ 2016-07-21 13:42:03.2952 47178/0x805958800 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /usr/local/www/redmine: An error occurred while starting up the preloader. Error ID: 4ae9bdd1 Error details saved to: /tmp/passenger-error-cZyXLf.html Message from application: [!] There was an error parsing `Gemfile`: You cannot specify the same gem twice with different version requirements. You specified: net-ldap (>= 0) and net-ldap (>= 0.12.0). Bundler cannot continue. # from /usr/local/www/redmine/Gemfile:94 # ------------------------------------------- # Dir["#{File.dirname(__FILE__)}/bundler.d/*.rb"].each do |bundle| > self.instance_eval(Bundler.read_file(bundle)) # end # ------------------------------------------- (Bundler::Dsl::DSLError) /usr/local/www/redmine/Gemfile:94:in `instance_eval' (eval):1:in `block in eval_gemfile' /usr/local/www/redmine/Gemfile:94:in `instance_eval' /usr/local/www/redmine/Gemfile:94:in `block in eval_gemfile' /usr/local/www/redmine/Gemfile:93:in `each' /usr/local/www/redmine/Gemfile:93:in `eval_gemfile' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler/dsl.rb:39:in `instance_eval' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler/dsl.rb:39:in `eval_gemfile' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler/dsl.rb:11:in `evaluate' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler/definition.rb:25:in `build' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler.rb:123:in `definition' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler.rb:91:in `setup' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler/setup.rb:19:in `<top (required)>' /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:430:in `activate_gem' /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:297:in `block in run_load_path_setup_code' /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:435:in `running_bundler' /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:296:in `run_load_path_setup_code' /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack-preloader.rb:100:in `preload_app' /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack-preloader.rb:156:in `<module:App>' /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>' /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack-preloader.rb:29:in `<main>' 13:48:43 ticketstest:/usr/local/www/redmine > pkg which /usr/local/www/redmine/bundler.d/ldap.rb /usr/local/www/redmine/bundler.d/ldap.rb was installed by package redmine-3.2.3 13:48:50 ticketstest:/usr/local/www/redmine > cat /usr/local/www/redmine/bundler.d/ldap.rb gem "net-ldap", ">= 0.12.0" So the Gemfile and bundler.d/ldap.rb conflict on this net-ldap gem check. I don't see how bundler.d/* files are being generated, so it seems easiest to just remove it from the main Gemfile.
I will have a look at it, since i wrote the last update ;)
Any objections if i put this together with an update to current release 3.3?
(In reply to Torsten Zuehlsdorff from comment #2) No objections here.
Created attachment 174418 [details] Update to 3.3 and patch Sorry for my late response. I'm completely out of time. :/ I write a raw draft to update redmine to 3.3 and try to incorporate a fix for the ldap problem. Beside a simple build-tests i could not test it in anyway - every feedback would be nice. I hopefully find more time until the end of the week.
(In reply to Torsten Zuehlsdorff from comment #4) Sorry, didn't see this when committing the fix for 213085, if it's not too much trouble can you update the patch?
I thought this ldap problem was solved years ago, I stambled accross it again.
I think this is fixed now, please reopen if not.