Jérémy Lal escreveu isso aí:
> 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 ?

It shouldn't be. 

And this problem is just with Ruby 1.8, it seems. It would be nice if we
can reproduce this with a simple test case and submit a bug upstream.

-- 
Antonio Terceiro <terce...@debian.org>

Attachment: signature.asc
Description: Digital signature

Reply via email to