[DRE-maint] Bug#653350: redmine: redmine won't install with rubygems 1.8.12-1

Jérémy Lal jerry at edagames.com
Thu Dec 29 13:04:34 UTC 2011


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 ?

Jérémy.






More information about the Pkg-ruby-extras-maintainers mailing list