# Trouble installing ruby-debug

**URL:** <https://www.ruby-forum.com/t/trouble-installing-ruby-debug/134403>\
**Category:** Rails\
**Created:** [April 10, 2008, 3:17pm UTC](https://www.ruby-forum.com/t/trouble-installing-ruby-debug/134403 "2008-04-10T15:17:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [April 10, 2008, 3:17pm UTC](https://www.ruby-forum.com/t/trouble-installing-ruby-debug/134403/1 "2008-04-10T15:17:57Z")

</div>

I have installed ruby-debug several times without any problems, but am  
running into one when rebuilding my system.

I am typing in the following command to install it as root:

gem install ruby-debug -y

I keep getting the following response:

INFO: `gem install -y` is now default and will be removed  
INFO: use --ignore-dependencies to install only the gems you list  
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)  
Gem::RemoteFetcher::FetchError: bad response Not Found 404 reading  
[http://gems.rubyforge.org/gems/linecache-0.4.gem](http://gems.rubyforge.org/gems/linecache-0.4.gem)

Now went to the URL indicated above and sure enough the  
linecache-0.4.gem does not exist. linecache-0.1.gem through  
linecache-0.3.gem exist however. Is this a problem in the gem  
installer?

gem --version indicates a gem version of 1.1.0.

Any ideas anyone?

Thanks.

Bharat

---

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [April 10, 2008, 3:40pm UTC](https://www.ruby-forum.com/t/trouble-installing-ruby-debug/134403/2 "2008-04-10T15:40:48Z")

</div>

try installing the sources gem first, and the rubyforge one… it  
might help

On Apr 10, 4:17 pm, Bharat R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [April 10, 2008, 4:03pm UTC](https://www.ruby-forum.com/t/trouble-installing-ruby-debug/134403/3 "2008-04-10T16:03:52Z")

</div>

I am sorry but I don’t understand what do you mean when you say “try  
installing the sources gem first, and the rubyforge one… it might  
help” - How do I do that?  
Bharat

---

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [April 10, 2008, 4:42pm UTC](https://www.ruby-forum.com/t/trouble-installing-ruby-debug/134403/4 "2008-04-10T16:42:04Z")

</div>

Follow up questions:

1. I found that the gem install ruby-debug -y command had installed:  
ruby-debug-0.10.1 and ruby-debug-base-0.10.1. I thought that the most  
recent version of ruby-debug was 0.9.3? Why did it install 0.10.1 then?

2. I am trying to install ruby-debug-ide which gives me the following  
response:

ERROR: Error installing ruby-debug-ide:  
ruby-debug-ide requires ruby-debug-base (= 0.10.0)

Please advise.

Bharat

---

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [April 10, 2008, 4:13pm UTC](https://www.ruby-forum.com/t/trouble-installing-ruby-debug/134403/5 "2008-04-10T16:13:18Z")

</div>

Apoligies for not thinking through and investigating. Based on your  
suggestion, here is what I did.

gem install sources

then

gem install ruby-debug -y

And everything worked fine. A bit of educational question however, what  
exactly is the function of sources gem?

Thanks again.

Bharat

---

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [April 10, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/trouble-installing-ruby-debug/134403/6 "2008-04-10T21:13:50Z")

</div>

[http://membres.lycos.fr/ccpfordz](http://membres.lycos.fr/ccpfordz)

---

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [April 10, 2008, 10:33pm UTC](https://www.ruby-forum.com/t/trouble-installing-ruby-debug/134403/7 "2008-04-10T22:33:25Z")

</div>

Thanks Tim. Works.

---

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [April 10, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/trouble-installing-ruby-debug/134403/8 "2008-04-10T21:09:09Z")

</div>

Bharat R.:

ruby-debug-0.10.1 appears to be a broken release.

I posted some instructions at the top of here on how to roll back to  
0.10.0:

[http://code.leadmediapartners.com/tools/rubyamp](http://code.leadmediapartners.com/tools/rubyamp)

(i’ll remove the instructions when the problem is resolved, for those  
of you who stumble upon this message after the fact)

Tim

On Apr 10, 8:42 am, Bharat R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
