Project

General

Profile

Bug #3603

RubyGems default gem directory is wrong when used with ruby 1.9.1 with --program-suffix=1.9.

Added by svelto (Svetoslav Agafonkin) almost 10 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
ruby -v:
ruby 1.9.1p429 (2010-07-02 revision 28523) [i386-darwin9]
[ruby-core:31448]

Description

=begin
RubyGems 1.3.7 default gem directory is wrong when used with ruby 1.9.1 with --program-suffix=1.9.

Gem.default_dir generates "/opt/local/lib/ruby/gems/1.9.1/" instead of
"/opt/local/lib/ruby1.9/gems/1.9.1/".

The issue comes from this commit:
http://redmine.ruby-lang.org/repositories/diff/ruby-19?rev=26048

I'm posting the issue for the ruby-19 project because the changes
that caused the problem were introduced in its repository and
later imported into the rubygems' one and released as part of
RubyGems 1.3.7, which fails to work with ruby 1.9.1 .

I've also created a bug report in the rubygems issue tracking system:
http://rubyforge.org/tracker/index.php?func=detail&aid=28414&group_id=126&atid=575
=end

Also available in: Atom PDF