[DRE-maint] Bug#653350: redmine: redmine won't install with rubygems 1.8.12-1
Jörg-Volker Peetz
jvpeetz at web.de
Sat Dec 31 15:18:10 UTC 2011
Jérémy Lal wrote, on 12/29/11 14:04:
> On 27/12/2011 12:25, Jörg-Volker Peetz wrote:
>> Package: redmine
>> ...
>> uninitialized constant Gem::SyckDefaultKey
>> ...
>
> gem2deb's fix is to call Gem.load_yaml before require 'yaml' is called elsewhere.
>
> Using that fix on redmine works too, in /usr/share/redmine/config/boot.rb :
>
> class VendorBoot < Boot
> def load_initializer
> require 'rubygems' # Syck-ness, see
> Gem.load_yaml # http://bugs.debian.org/653350
> require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
> Rails::Initializer.run(:install_gem_spec_stubs)
> Rails::GemDependency.add_frozen_gem_path
> end
> end
>
> Is it really up to other apps to work around that rubygems bug ?
I also think: no.
I saw that you reassigned this bug to rubygems 1.8.12-1.
To me it seems to be a bug in package ruby-rails-2.3 2.3.14-2 since the file
/usr/share/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb
which is /usr/lib/ruby/vendor_ruby/rails/gem_dependency.rb and which still uses
"Gem.source_index" belongs to package ruby-rails-2.3.
Best regards,
Jörg-Volker.
>
> Jérémy.
>
>
More information about the Pkg-ruby-extras-maintainers
mailing list