[DRE-maint] Bug#653350: Bug#653350: redmine: redmine won't install with rubygems 1.8.12-1
Antonio Terceiro
terceiro at debian.org
Sat Dec 31 22:21:33 UTC 2011
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 <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20111231/7d0191f8/attachment-0001.pgp>
More information about the Pkg-ruby-extras-maintainers
mailing list