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 M. 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!
On Tue, Feb 2, 2010 at 5:15 PM, Kristian M. [email protected]
wrote:
But I can’t seem to find where on the system they are located
what is “gem which”
what is “gem help commands”
best regards -botp
On Tue, Feb 2, 2010 at 1:15 AM, Kristian M. [email protected]
wrote:
Now I can list my gems:
$ gem list
But I can’t seem to find where on the system they are located
try gem env
Hassan S. wrote:
try gem env
This is the correct way of finding your gems.