From: Pierre Lecocq Date: 2010-02-02T18:22:19+09:00 Subject: Re: Where are my ruby gems located? Why don't executables such as spec work? 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/.