Date: Wed, 04 Jan 2017 12:41:30 +0000 From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 215225] www/redmine broken again after upgrade of rubygems Message-ID: <bug-215225-21402-64rsGAXWHr@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-215225-21402@https.bugs.freebsd.org/bugzilla/> References: <bug-215225-21402@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215225 Miroslav Lachman <000.fbsd@quip.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|Closed |Open --- Comment #5 from Miroslav Lachman <000.fbsd@quip.cz> --- (In reply to Steve Wills from comment #4) I upgraded redmine to 3.2.3_4 but got the same error as before: # tail -n 35 -f /usr/local/www/redmine/log/thin.log Changing process privilege to www:www Using rack adapter Exiting! /usr/local/lib/ruby/gems/2.2/gems/bundler-1.13.7/lib/bundler/runtime.rb:40:= in `block in setup': You have already activated rack 2.0.1, but your Gemfile requires rack 1.6.5. Prepending `bundle exec` to your command may solve thi= s. (Gem::LoadError) from /usr/local/lib/ruby/gems/2.2/gems/bundler-1.13.7/lib/bundler/runtime.rb:25:= in `map' from /usr/local/lib/ruby/gems/2.2/gems/bundler-1.13.7/lib/bundler/runtime.rb:25:= in `setup' from /usr/local/lib/ruby/gems/2.2/gems/bundler-1.13.7/lib/bundler.rb:99:in `setu= p' from /usr/local/lib/ruby/gems/2.2/gems/bundler-1.13.7/lib/bundler/setup.rb:20:in `<top (required)>' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:133:in `require' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:133:in `rescue in require' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:40:in `require' from /usr/local/www/redmine/config/boot.rb:4:in `<top (required)>' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/www/redmine/config/application.rb:1:in `<top (required)>' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/www/redmine/config/environment.rb:2:in `<top (required)>' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/www/redmine/config.ru:3:in `block in <main>' from /usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/builder.rb:55:in `instance_eval' from /usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/builder.rb:55:in `initialize' from /usr/local/www/redmine/config.ru:1:in `new' from /usr/local/www/redmine/config.ru:1:in `<main>' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/rack/adapter/loader.rb:33:= in `eval' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/rack/adapter/loader.rb:33:= in `load' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/rack/adapter/loader.rb:42:= in `for' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/thin/controllers/controlle= r.rb:170:in `load_adapter' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/thin/controllers/controlle= r.rb:74:in `start' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/thin/runner.rb:200:in `run_command' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/thin/runner.rb:156:in `run= !' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/bin/thin:6:in `<t= op (required)>' from /usr/local/bin/thin:22:in `load' from /usr/local/bin/thin:22:in `<main>' I tried to pkg delete -f rubygem-rack16, but it doesn't work too: Writing PID to tmp/pids/thin.pid Changing process privilege to www:www Using rack adapter Exiting! /usr/local/lib/ruby/gems/2.2/gems/bundler-1.13.7/lib/bundler/resolver.rb:20= 3:in `rescue in start': Bundler could not find compatible versions for gem "rack= ": (Bundler::VersionConflict) In Gemfile: actionpack-xml_parser was resolved to 1.0.2, which depends on actionpack (< 5, >=3D 4.0.0) was resolved to 4.2.7.1, which depends on rack (~> 1.6) rack-openid was resolved to 1.4.2, which depends on rack (>=3D 1.1.0) thin (>=3D 1.6.2) was resolved to 1.7.0, which depends on rack (< 3, >=3D 1) Could not find gem 'rack (~> 1.6)', which is required by gem 'rack-openid',= in any of the sources. from /usr/local/lib/ruby/gems/2.2/gems/bundler-1.13.7/lib/bundler/resolver.rb:19= 9:in `start' I installed rubygem-rack16 back and deinstalled rubygem-rack-2: pkg delete = -f rubygem-rack-2.0.1,3 Redmine now works again. Exactly as schmidt@ze.tum.de wrote 2016-12-13 So please, can somebody fix this dependency hell? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215225-21402-64rsGAXWHr>