Eric Hodel
3/9/2009 6:12:00 PM
On Mar 8, 2009, at 21:21, Scott Mcleod wrote:
> First off im on the latest/updated version of Mac OSX, on a macbook.
You already have a version of ruby (1.8.6) and RubyGems installed if
you're on OS X 10.5, /usr/bin/ruby
You'll want to update RubyGems for Apple's ruby though.
> I have sort of pin pointed the issue down, i get an error like this
> each
> time i attempt to use gem.
>
> /usr/local/lib/ruby/site_ruby/1.9.0/rubygems/package.rb:386:in
> `alias_method': undefined method `is_file' for class
> `Gem::Package::TarReader::Entry' (NameError)
1.9.1 is the latest version of ruby and comes with the latest
RubyGems. You probably have a prerelease version of 1.9.0 installed
that has a broken RubyGems.
I imagine that `which ruby` will report /usr/local/bin/ruby, and `ruby
-v` will report 1.9.0. If you want to use ruby 1.9 you should remove
your current install of 1.9.0 in /usr/local and configure 1.9.1 with
its own suffix:
./configure --program-suffix=19
So you get /usr/local/bin/ruby19 which won't conflict with the 1.8.6
install you have from Apple.