Date: Thu, 21 Jul 2016 17:54:07 +0000 From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: maintainer-feedback requested: [Bug 211276] [PATCH]: www/redmine: Fix error from duplicate net-ldap gem check Message-ID: <bug-211276-21402-YmJVZycu0X@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-211276-21402@https.bugs.freebsd.org/bugzilla/> References: <bug-211276-21402@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Felder <feld@FreeBSD.org> has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to ruby@FreeBSD.or= g: Bug 211276: [PATCH]: www/redmine: Fix error from duplicate net-ldap gem che= ck https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211276 --- Description --- Created attachment 172791 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172791&action= =3Dedit 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 t= wice with different version requirements. You specified: net-ldap (>=3D 0) and net-ldap (>=3D 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' =20 /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler/definition.rb:= 25:i n `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 `se= tup' /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' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28/src/ruby_supportlib/phus= ion_ passenger/loader_shared_helpers.rb:430:in `activate_gem' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28/src/ruby_supportlib/phus= ion_ passenger/loader_shared_helpers.rb:297:in `block in run_load_path_setup_code' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28/src/ruby_supportlib/phus= ion_ passenger/loader_shared_helpers.rb:435:in `running_bundler' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28/src/ruby_supportlib/phus= ion_ passenger/loader_shared_helpers.rb:296:in `run_load_path_setup_code' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack= -pre loader.rb:100:in `preload_app' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack= -pre loader.rb:156:in `<module:App>' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack= -pre loader.rb:30:in `<module:PhusionPassenger>' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack= -pre loader.rb:29:in `<main>' 13:48:43 ticketstest:/usr/local/www/redmine > pkg which /usr/local/www/redmine/bundler.d/ldap.rb=20 /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", ">=3D 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211276-21402-YmJVZycu0X>