Your message dated Sat, 19 Dec 2015 04:00:32 +0000
with message-id <[email protected]>
and subject line Bug#783972: fixed in rubygems-integration 1.10
has caused the Debian Bug report #783972,
regarding rubygems-integration: Incompatibility with ruby >= 2.1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
783972: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783972
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rubygems-integration
Version: 1.8
Severity: minor

Dear Maintainer,

Starting with ruby 2.1, the rubygems package has split the Gem::Specification
class into three:

  Gem::BasicSpecification
  Gem::StubSpecification < Gem::BasicSpecification
  Gem::Specification < Gem::BasicSpecification

This is problematic when using rubygems-integration and ruby >= 2.1,
because the patch applied to the Gem::Specification class (in the file
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_systems.rb) no
longer works on instances of the Gem::StubSpecification class. For me,
this issue manifests as the following warning that is printed by the
"spring" gem: 

Warning: Running `gem pristine --all` to regenerate your installed
gemspecs (and deleting then reinstalling your bundle if you use bundle
--path) will improve the startup performance of Spring.

And, naturally, running 'gem pristine --all' or reinstalling the bundle
doesn't really fix anything.

Below is a suggested patch to the "operating_systems.rb" file:

------------------------ CUT HERE ---------------------

end

-if RUBY_VERSION >= '2.0' then
-  class << Gem::Specification
+spec_class = if RUBY_VERSION >= '2.1'
+               Gem::BasicSpecification
+             elsif RUBY_VERSION >= '2.0'
+               Gem::Specification
+             else
+               nil
+             end
+if spec_class
+  class << spec_class

     alias :upstream_default_specifications_dir :default_specifications_dir
     def default_specifications_dir
------------------------ CUT HERE ---------------------


Thanks for your time and consideration.

-- 
Gustavo

-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-security
  APT policy: (505, 'trusty-security'), (501, 'trusty-updates'), (500, 
'trusty'), (400, 'trusty-proposed'), (400, 'trusty-backports')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-31-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

rubygems-integration depends on no packages.

rubygems-integration recommends no packages.

Versions of packages rubygems-integration suggests:
pn  bundler  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: rubygems-integration
Source-Version: 1.10

We believe that the bug you reported is fixed in the latest version of
rubygems-integration, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Hofstaedtler <[email protected]> (supplier of updated 
rubygems-integration package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 19 Dec 2015 01:47:10 +0000
Source: rubygems-integration
Binary: rubygems-integration
Architecture: source
Version: 1.10
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<[email protected]>
Changed-By: Christian Hofstaedtler <[email protected]>
Description:
 rubygems-integration - integration of Debian Ruby packages with Rubygems
Closes: 783972
Changes:
 rubygems-integration (1.10) unstable; urgency=medium
 .
   * Fix overlay incompatibility starting with Ruby 2.1.
     Thanks to Gustavo Machado Campagnani Gama <[email protected]>
     (Closes: #783972)
   * Stop installing compatibility symlink for ruby2.0
Checksums-Sha1:
 14006527eb0f4491eb19e3d68cd775ba9a85addc 1789 rubygems-integration_1.10.dsc
 32b7db9e141c7d1a412092e13b09fa6bd126751d 4728 rubygems-integration_1.10.tar.xz
Checksums-Sha256:
 1b1822eed5fa3afe49faeb8e0d4904ab9b2f5d40135829a13c39978cf4d11877 1789 
rubygems-integration_1.10.dsc
 088114ab9b5fa8103c9f8afca40eea8d0de6658a79348ed52057d08285f7e0b0 4728 
rubygems-integration_1.10.tar.xz
Files:
 9851071ced5d7515d976ad80ce22d5cf 1789 ruby optional 
rubygems-integration_1.10.dsc
 e03ef54b9a58965cc16a1352101bc7ba 4728 ruby optional 
rubygems-integration_1.10.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWdLc3AAoJEFwT1tuTBS4DXw4P/jPGhaHdHsEpSH3tpm9skREj
1Vex1KwEKK2b2Ftqc5Y9AZvX/pOZ1TzsiqzA+HiErnGdA34DPMvT/5ZtMA10hhZn
JSIeg7KdrEBHgO3DbeT/H0fzSrrHgwUMHzG33AQT89iLXiNgbLpvpsWiXMNriAVV
aH9+jpy4+QqeG7jhWAPaGKQotSEMEp6Hxl5hKJ0/+tJkG1tnKULIveUPBsPrCens
Jgak7aEgSPCcsc+rHbeSEy764e5EAcaddfoXKBW9ysR+VNchRLAB/ip+7/reyI4U
JDGQGmifdLQxDz99AopQ2/ay2OLMfBFlOSRrMWDc91lPNZjTrZSaiKRX17EL73GO
6IZrSOc2leI1HbCZO33MyhMPl9MNHccxYQE7jlWykaizE93Iv+LW/7GacbeDahDx
Uua1e2ZwEzJvtlwijChK8GHIxlbYbAjic8QFFQo0YJ+LxsK+m9PqpYBMEbEcJVgE
usd95rsV1i2GHV+ubdcdX4d+YiWsDiO9RmLlY8I29FylW4U43Pd7vbm7/o18xKyi
K/59zIolbgMbBYx9hdagv+PTqWwNiPXzI8RATzpIh6PwT4irlVpApVpzhZuZEZvr
9YwzDVatKPKG+3P45v21ozCyL6tGIfP7KDmJrcdvKidxpospdKYdI4yMQ9dCzY3k
WnXsq+UkkSQUHW8RUHuL
=Dw3U
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to