Error installing Ruby-Debug : unreachable host?

Hi,
VERY new to Ruby…talk to me like I’m 6 years old :slight_smile:
I’m tryin to install a debugger.

Downloaded Ruby-Debug-0.10.1.gem
When I type GEM INSTALL RUBY-DEBUG
I get :
A Socket operation attempted to an unreachable host

Not using rails…all I’ve done is install Ruby-one-click into an XP
laptop.

Alright…no response.
I must have left out some info, or I typed an undecipherable
question…lemme rephrase:

I need a debugger for Ruby. Any suggestions where to get one & how to
load it?

n 8/6/08, Bob M. [email protected] wrote:

Downloaded Ruby-Debug-0.10.1.gem
When I type GEM INSTALL RUBY-DEBUG
I get :
A Socket operation attempted to an unreachable host

I need a debugger for Ruby. Any suggestions where to get one & how to
load it?

That is a network error of some sort - I get a similar one due to my
office firewall.

But if you have already downloaded Ruby-Debug-0.10.1.gem onto your
harddrive,
then all you need to do is change to the download directory and type
gem install -l Ruby-Debug-0.10.1.gem

The -l for local makes it skip the attempt to connect to the network.

If you haven’t downloaded it, you can get it from
rubyforge.org/projects/ruby-debug/

-Adam

then all you need to do is change to the download directory and type
gem install -l Ruby-Debug-0.10.1.gem

Thanks for helpin Adam, but I get this error.
ERROR: While executing gem … OptonParser::InvalidOption
invalid option: -1

I’m on Ruby ver 1.8 (I think???)
I ran that from the download dir where Ruby-Debug-0.10.1.gem and 3 other
files that came along w/ the download are.

Adam S. wrote:

did you use a number -1 instead of the letter -l ?

Oops…I’d assumed number one. But I tried it w/ the letter L (-l) and
got THIS stupid error

“ruby-debug requires colunmize >= 0.1”

On 8/6/08, Bob M. [email protected] wrote:

then all you need to do is change to the download directory and type
gem install -l Ruby-Debug-0.10.1.gem

Thanks for helpin Adam, but I get this error.
ERROR: While executing gem … OptonParser::InvalidOption
invalid option: -1

did you use a number -1 instead of the letter -l ?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs