I'm on Mac OSX Snow Leopard, running Ruby 1.9.1
I have recently substituted homebre packagemanager for port.
I reinstalled most of my ruby gems using $ sudo gem install [gem list]
Now I can list my gems:
$ gem list
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.pre, 2.3.5)
actionpack (3.0.pre, 2.3.5)
activemodel (3.0.pre)
activerecord (3.0.pre, 2.3.5)
activeresource (3.0.pre, 2.3.5)
...
But I can't seem to find where on the system they are located
And executables such as spec don't work, even though I can see that
the gem (fx rspec) is installed
Any ideas?
Thanks!
Kristian Mandrup wrote:
I'm on Mac OSX Snow Leopard, running Ruby 1.9.1
I have recently substituted homebre packagemanager for port.
I reinstalled most of my ruby gems using $ sudo gem install [gem list]
Now I can list my gems:
$ gem list
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.pre, 2.3.5)
actionpack (3.0.pre, 2.3.5)
activemodel (3.0.pre)
activerecord (3.0.pre, 2.3.5)
activeresource (3.0.pre, 2.3.5)
...
But I can't seem to find where on the system they are located
here is a shell command to find 'em:
sudo find / -name "gems"
But they must be located in:
MacOsX: /usr/lib/ruby/gems/1.8/gems/
Unix: /usr/lib/ruby/gems/1.8/gems/
Kind regards,
Pierre
路路路
And executables such as spec don't work, even though I can see that
the gem (fx rspec) is installed
Any ideas?
Thanks!
--
Posted via http://www.ruby-forum.com/\.
botp1
(botp)
3
what is "gem which"
what is "gem help commands"
best regards -botp
路路路
On Tue, Feb 2, 2010 at 5:15 PM, Kristian Mandrup <kmandrup@gmail.com> wrote:
But I can't seem to find where on the system they are located
Hassan Schroeder wrote:
try `gem env`
This is the correct way of finding your gems.
路路路
--
Posted via http://www.ruby-forum.com/\.