Date: Sun, 11 Dec 2016 16:54:07 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215225] Redmine broken again after upgrade of rubygems Message-ID: <bug-215225-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215225 Bug ID: 215225 Summary: Redmine broken again after upgrade of rubygems Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: 000.fbsd@quip.cz I did 'pkg upgrade' in jail where only Redmine is running and the result is nonstarting Redmine: 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.12.5/lib/bundler/runtime.rb:35:= 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.12.5/lib/bundler/runtime.rb:20:= in `map' from /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:= in `setup' from /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.5/lib/bundler.rb:95:in `setu= p' from /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.5/lib/bundler/setup.rb:19: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)>' The problem is there are two versions of Rack installed # pkg info | grep -i rack rubygem-rack-2.0.1,3 Rack, a Ruby Webserver Interface rubygem-rack-openid-1.4.2_3 Provides a more HTTPish API around the ruby-openid library rubygem-rack-test-0.6.3_2 Small, simple testing API for Rack apps rubygem-rack16-1.6.5 Rack, a Ruby Webserver Interface # pkg info -r -d rubygem-rack-2.0.1,3 rubygem-rack16-1.6.5 rubygem-rack-2.0.1,3 Depends on : ruby-2.2.6_1,1 ruby22-gems-2.6.8 Required by : rubygem-rack-test-0.6.3_2 rubygem-sprockets3-3.7.0_1 rubygem-thin-1.7.0 rubygem-rack-openid-1.4.2_3 rubygem-rack16-1.6.5 Depends on : ruby-2.2.6_1,1 ruby22-gems-2.6.8 Required by : rubygem-actionpack4-4.2.7.1 I am unable to fix or workaround it so our Redmine installation in now non-functional. I already tried to reinstall everything by 'pkg upgrade -f'. Nothing change= d. --=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-13>