Re: gem command line tool (for ruby) not working
Re: gem command line tool (for ruby) not working
- Subject: Re: gem command line tool (for ruby) not working
- From: Jens Alfke <email@hidden>
- Date: Sun, 11 Oct 2009 21:55:14 -0700
On Oct 11, 2009, at 2:56 PM, Chuck Soper wrote:
When I attempt to run 'gem -v' I get the following error.
$ gem -v
/usr/bin/gem:14: undefined method `ruby_version' for Gem:Module
(NoMethodError)
How stock is this system? You say you don't have MacPorts, but have
you installed any Ruby code or other versions of Ruby?
I'm not an expert, but it seems like there's a version mismatch
between the 'gem' tool itself and the libraries it uses.
- Check what /usr/bin/gem links to — it should be a symlink into the
shadow usr/bin tree inside the system Ruby.framework.
- Check the usr/lib/ruby/1.8/rubygem* files inside /System/Library/
Frameworks/Ruby/.
I would suspect that a Ruby list/forum would have the best
concentration of experts, not an Apple list.
—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden