another can't find rubygems thread

I'm on leopard 1.5.8

The gems listed on the Attach Gems window, are those in the following directory:

/System/Library/Frameworks/Ruby.Framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems

As far as I can tell, I need them to be the ones located at:

/Users/myusername/.gem


I've tried adding the first path to my ~/.bash_profile
I've tried a sudo vim /etc/launchd.conf that contains:

setenv PATH=~/.gem/ruby/1.8/:$PATH

Maybe of interest:

$ gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.1
  - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.6.1]
  - INSTALLATION DIRECTORY: /usr/local
  - RUBY EXECUTABLE: /usr/local/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/local/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-darwin-9
  - GEM PATHS:
     - /usr/local
     - /Users/joe.egan/.gem/ruby/1.8
     - /usr/local/lib/ruby/gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["http://gems.rubyforge.org/", "http://gems.github.com/"]
     - :gemhome => "/usr/local"
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/
     - http://gems.github.com/


Many thanks
1 comment
Comment actions Permalink

SOLVED with:

[14:42:16@:c4eo] $ sudo gem install -i /System/Library/Frameworks/Ruby.Framework/Versions/1.8/usr/lib/ruby/gems/1.8 ruby-debug-base
[14:43:29@:c4eo] $ sudo gem install -i /System/Library/Frameworks/Ruby.Framework/Versions/1.8/usr/lib/ruby/gems/1.8 ruby-debug-ide

0

Please sign in to leave a comment.