Where are my ruby gems located? Why don't executables such as specwork?

  • Thread starter Kristian Mandrup
  • Start date
K

Kristian Mandrup

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!
 
P

Pierre Lecocq

Kristian said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,186
Latest member
vinaykumar_nevatia

Latest Threads

Top