# Ruby-debug-ide for Ruby 1.9 released

**URL:** <https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455>\
**Category:** Ruby\
**Created:** [August 26, 2009, 11:19pm UTC](https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455 "2009-08-26T23:19:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [August 26, 2009, 11:19pm UTC](https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455/1 "2009-08-26T23:19:26Z")

</div>

“gem install ruby-debug-ide” now works for both Ruby 1.8 and 1.9  
(version 0.4.7).

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [August 27, 2009, 6:46am UTC](https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455/2 "2009-08-27T06:46:40Z")

</div>

Mark M. wrote:

> “gem install ruby-debug-ide” now works for both Ruby 1.8 and 1.9  
> (version 0.4.7).

Confused, I am. What is the difference between ruby-debug (which won’t  
install with my ruby1.9 installation) and ruby-debug-ide (which also  
won’t install)…?

Relative to the ruby-debug-ide install failure, here’s what I get:

$ sudo gem19 install ruby-debug-ide  
Building native extensions. This could take a while…  
ERROR: Error installing ruby-debug-ide:  
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby19 extconf.rb install ruby-debug-ide  
Building native extensions. This could take a while…  
Building native extensions. This could take a while…

Gem files will remain installed in  
/usr/local/lib/ruby19/gems/1.9.1/gems/ruby-debug-ide-0.4.7 for  
inspection.  
Results logged to  
/usr/local/lib/ruby19/gems/1.9.1/gems/ruby-debug-ide-0.4.7/ext/gem\_make.out  
tomc@tomc-desktop:~/Ruby-work/setnet/bin$

That gem\_make.out file contains…  
/usr/local/bin/ruby19 extconf.rb install ruby-debug-ide  
Building native extensions. This could take a while…  
Building native extensions. This could take a while…

Any help in making sense of this would be much appreciated.

t.

–

```auto
Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< removed_email_address@domain.invalid >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)

```

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [August 27, 2009, 7:15am UTC](https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455/3 "2009-08-27T07:15:46Z")

</div>

Tom C. wrote:

> Confused, I am. What is the difference between ruby-debug (which won’t  
> install with my ruby1.9 installation) and ruby-debug-ide (which also  
> won’t install)…?  
> As far as the command-line:  
> ruby-debug is for 1.8 only; ruby-debug19 is for 1.9 only  
> For the IDE:  
> ruby-debug-ide is (supposed to be) for both

> Relative to the ruby-debug-ide install failure, here’s what I get:
> 
> $ sudo gem19 install ruby-debug-ide  
> Building native extensions. This could take a while…  
> ERROR: Error installing ruby-debug-ide:  
> ERROR: Failed to build gem native extension.

Not enough info to tell. Can you zip up your entire gems directory and  
email it to me?

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [August 28, 2009, 11:30am UTC](https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455/4 "2009-08-28T11:30:39Z")

</div>

Tom C. wrote:

> don’t know what rudy-debug-ide is, however. I have been unable to find  
> anything about it via Google.

ruby-debug-ide is two things:

1.) a standardized communication protocol between Ruby implementations  
(or more precisely Ruby debuggers) and Ruby IDEs. Every debugger that  
conforms to the protocol will _automatically_ work with every Ruby IDE  
that conforms to the protocol and vice versa.

2.) a set of gems that implement adapters for said standardized  
protocol for debuggers that are _not_ compliant with the protocol,  
like ruby-debug for example.

To put it another way: ruby-debug-ide is to debuggers and IDEs as Rack  
is to web frameworks and web servers.

jwm

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [August 28, 2009, 7:38am UTC](https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455/5 "2009-08-28T07:38:15Z")

</div>

Mark M. wrote:

> 

That’s helpful, in that I didn’t know there was a ruby-debug19. I still  
don’t know what rudy-debug-ide is, however. I have been unable to find  
anything about it via Google.

I’m very familiar with ruby-bug in ruby 1.8.7. My dependence upon it has  
been what’s kept me from migrating to ruby 1.9. So, with there being a  
ruby-debug19 out, I have tried to install it. Failed. Here’s the output:

$ sudo gem19 install ruby-debug19  
[sudo] password for tomc:  
Building native extensions. This could take a while…  
ERROR: Error installing ruby-debug19:  
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby19 extconf.rb install ruby-debug19  
checking for vm\_core.h… no  
checking for vm\_core.h… yes  
checking for iseq.h… yes  
checking for insns.inc… yes  
checking for insns\_info.inc… yes  
creating Makefile

make  
gcc -I. -I/usr/local/include/ruby19-1.9.1/i686-linux  
-I/usr/local/include/ruby19-1.9.1/ruby/backward  
-I/usr/local/include/ruby19-1.9.1 -I. -DHAVE\_VM\_CORE\_H -DHAVE\_ISEQ\_H  
-DHAVE\_INSNS\_INC -DHAVE\_INSNS\_INFO\_INC  
-I/usr/local/include/ruby19-1.9.1/ruby-1.9.1-p0 -fPIC -O2 -g -Wall  
-Wno-parentheses -o breakpoint.o -c breakpoint.c  
gcc -I. -I/usr/local/include/ruby19-1.9.1/i686-linux  
-I/usr/local/include/ruby19-1.9.1/ruby/backward  
-I/usr/local/include/ruby19-1.9.1 -I. -DHAVE\_VM\_CORE\_H -DHAVE\_ISEQ\_H  
-DHAVE\_INSNS\_INC -DHAVE\_INSNS\_INFO\_INC  
-I/usr/local/include/ruby19-1.9.1/ruby-1.9.1-p0 -fPIC -O2 -g -Wall  
-Wno-parentheses -o ruby\_debug.o -c ruby\_debug.c  
ruby\_debug.c: In function â€˜ruby\_method\_ptrâ€™:  
ruby\_debug.c:142: error: â€˜rb\_method\_entry\_tâ€™ undeclared (first use in  
this function)  
ruby\_debug.c:142: error: (Each undeclared identifier is reported only  
once  
ruby\_debug.c:142: error: for each function it appears in.)  
ruby\_debug.c:142: error: â€˜methodâ€™ undeclared (first use in this  
function)  
ruby\_debug.c:143: warning: implicit declaration of function  
â€˜rb\_method\_entryâ€™  
ruby\_debug.c: In function â€˜debug\_event\_hookâ€™:  
ruby\_debug.c:687: error: â€˜rb\_method\_entry\_tâ€™ undeclared (first use in  
this function)  
ruby\_debug.c:687: error: â€˜meâ€™ undeclared (first use in this function)  
make: \*\*\* [ruby\_debug.o] Error 1

Gem files will remain installed in  
/usr/local/lib/ruby19/gems/1.9.1/gems/ruby-debug-base19-0.11.15 for  
inspection.  
Results logged to  
/usr/local/lib/ruby19/gems/1.9.1/gems/ruby-debug-base19-0.11.15/ext/ruby\_debug/gem\_make.out  
$

> email it to me?

If I still need to do this, do you the directory’s whole contents itself  
or just the dir listing?

Thanks very much for your help! I’ve been eagerly waiting for ruby-debug  
to work in 1.9, and I’m excited that we’re pretty close to getting  
there.

Tom

–

```auto
Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< removed_email_address@domain.invalid >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)

```

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [August 28, 2009, 5:03pm UTC](https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455/6 "2009-08-28T17:03:50Z")

</div>

Tom C. wrote:

> That’s helpful, in that I didn’t know there was a ruby-debug19. I still  
> don’t know what rudy-debug-ide is, however. I have been unable to find  
> anything about it via Google.
> 
> I’m very familiar with ruby-bug in ruby 1.8.7. My dependence upon it has  
> been what’s kept me from migrating to ruby 1.9. So, with there being a  
> ruby-debug19 out, I have tried to install it. Failed. Here’s the output:
> 
> $ sudo gem19 install ruby-debug19  
> [sudo] password for tomc:  
> Building native extensions. This could take a while…  
> ERROR: Error installing ruby-debug19:  
> ERROR: Failed to build gem native extension.

This is the result of a bug in ruby-debug-base19; it doesn’t work  
properly with ruby-1.9.1-p0. I recommend updating the Ruby 1.9 version  
to ruby-1.9.1-p243 or ruby-1.9.2-preview1.

But in case you or someone else has to stay with 1.9.1-p0, I will fix  
this and release an update later today.

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [August 28, 2009, 1:33pm UTC](https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455/7 "2009-08-28T13:33:34Z")

</div>

Jörg W Mittag wrote:

> > > As far as the command-line:
> 
> is to web frameworks and web servers.
> 
> jwm

Great - I get it now. I rather suspected that might be what it was  
about, but was quite unsure.

t.

–

```auto
Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< removed_email_address@domain.invalid >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)

```

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [August 28, 2009, 5:25pm UTC](https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455/8 "2009-08-28T17:25:18Z")

</div>

New gem is up now; ruby-debug-base19 v0.11.16.

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [August 28, 2009, 10:46pm UTC](https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455/9 "2009-08-28T22:46:12Z")

</div>

Mark M. wrote:

> > $ sudo gem19 install ruby-debug19  
> > But in case you or someone else has to stay with 1.9.1-p0, I will fix  
> > this and release an update later today.

Wow, what a difference a day makes! Thanks, Mark, for your work, and  
your help. I’ve successfully installed ruby-debug19. And I’ll look into  
updating my ruby 1.9 version, as well.

Thanks. I’ve waited a while for real access to ruby 1.9, since I had to  
have ruby-debug.

t.

–

```auto
Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< removed_email_address@domain.invalid >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)

```
