[Bug 215225] www/redmine broken again after upgrade of rubygems
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 4 12:41:31 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215225
Miroslav Lachman <000.fbsd at quip.cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|Closed |Open
--- Comment #5 from Miroslav Lachman <000.fbsd at 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 this.
(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 `setup'
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/controller.rb:170:in
`load_adapter'
from
/usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/thin/controllers/controller.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 `<top
(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:203: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, >= 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 (>= 1.1.0)
thin (>= 1.6.2) was resolved to 1.7.0, which depends on
rack (< 3, >= 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:199: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 at ze.tum.de wrote 2016-12-13
So please, can somebody fix this dependency hell?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ruby
mailing list