[MacPorts] #28551: installing rb19 gems fails
MacPorts
noreply at macports.org
Fri Feb 25 16:33:10 PST 2011
#28551: installing rb19 gems fails
-----------------------------------------+----------------------------------
Reporter: singingwolfboy@… | Owner: kimuraw@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: ruby19
-----------------------------------------+----------------------------------
Every gem that I've tried to install for Ruby 1.9 has failed with the
following stack trace:
{{{
/opt/local/lib/ruby1.9/site_ruby/1.9.1/rubygems/source_index.rb:68:in
`installed_spec_directories': undefined method `path' for Gem:Module
(NoMethodError)
from
/opt/local/lib/ruby1.9/site_ruby/1.9.1/rubygems/source_index.rb:58:in
`from_installed_gems'
from /opt/local/lib/ruby1.9/site_ruby/1.9.1/rubygems.rb:881:in
`source_index'
from
/opt/local/lib/ruby1.9/site_ruby/1.9.1/rubygems/gem_path_searcher.rb:81:in
`init_gemspecs'
from
/opt/local/lib/ruby1.9/site_ruby/1.9.1/rubygems/gem_path_searcher.rb:13:in
`initialize'
from /opt/local/lib/ruby1.9/site_ruby/1.9.1/rubygems.rb:839:in
`new'
from /opt/local/lib/ruby1.9/site_ruby/1.9.1/rubygems.rb:839:in
`block in searcher'
from <internal:prelude>:10:in `synchronize'
from /opt/local/lib/ruby1.9/site_ruby/1.9.1/rubygems.rb:838:in
`searcher'
from /opt/local/lib/ruby1.9/site_ruby/1.9.1/rubygems.rb:478:in
`find_files'
from /opt/local/lib/ruby1.9/site_ruby/1.9.1/rubygems.rb:1103:in
`<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /opt/local/bin/gem1.9:8:in `<main>'
}}}
Interesting that it's using the 1.9.1 directory:
{{{
masika:ports baumgold$ ruby1.9 --version
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10]
}}}
--
Ticket URL: <https://trac.macports.org/ticket/28551>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list