Can't find Gem

R

Richard Schneeman

I recently installed ruby 1.8.7 and rubygems 1.3.5. Right now i'm trying
to use the ruby-debug gem, but when i

script/server --debugger

i get the error:

You need to install ruby-debug to run the server in debugging mode. With
gems, use 'gem install ruby-debug'

Even after I have run sudo gem install ruby-debug multiple times. So i
checked my gem environment:




RubyGems Environment:
- RUBYGEMS VERSION: 1.3.5
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin10.0.0]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-darwin-10
- GEM PATHS:
- /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.rubyonrails.org", "http://gems.rubyonrails.org",
"http://gems.github.com", "http://gems.github.com"]
- REMOTE SOURCES:
- http://gems.rubyforge.org
- http://gems.rubyonrails.org
- http://gems.rubyonrails.org
- http://gems.github.com
- http://gems.github.com


I checke in /usr/local/lib/ruby/gems/1.8 and sure enough i have
ruby-debug correctly installed but still not recognized when i try to
start my server. I also added this to my .bashrc to make sure:

export GEM_HOME=/usr/local/lib/ruby/gems/1.8
export GEM_PATH=/usr/local/lib/ruby/gems/1.8


Even so, i'm still stuck. I'm fairly certain i've got multiple versions
of rubygems. Even so on the surface it looks like everything is setup
and in its correct place, but still not working. Does anyone have any
additional commands or troubleshooting i can run?
 

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,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top