# What IDE for Rails on OSX?

**URL:** <https://www.ruby-forum.com/t/what-ide-for-rails-on-osx/56614>\
**Category:** Rails\
**Created:** [April 1, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/what-ide-for-rails-on-osx/56614 "2006-04-01T19:08:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![larrywright](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9fc348/32.png) [@larrywright](https://www.ruby-forum.com/u/larrywright)\
**Post date:** [April 1, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/what-ide-for-rails-on-osx/56614/1 "2006-04-01T19:08:07Z")

</div>

Hi,

I’m using TextMate for rails development on OSX, but have reached a  
point  
where I need to run in a debugger and be able to step through the code  
as it  
executes. I have previously used the Eclipse Ruby plug in and another  
IDE  
for ruby development on windows, but never figured out how to run a  
Rails  
app in the debugger.

How are other textmate users debugging and what else is there on the  
Mac?

thanks.

---

<div class="post-metadata">

**Author:** ![larrywright](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9fc348/32.png) [@larrywright](https://www.ruby-forum.com/u/larrywright)\
**Post date:** [April 1, 2006, 8:39pm UTC](https://www.ruby-forum.com/t/what-ide-for-rails-on-osx/56614/2 "2006-04-01T20:39:27Z")

</div>

Have you tried this?  
[http://wiki.rubyonrails.com/rails/pages/HowtoDebugWithBreakpoint](http://wiki.rubyonrails.com/rails/pages/HowtoDebugWithBreakpoint)

---

<div class="post-metadata">

**Author:** ![larrywright](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9fc348/32.png) [@larrywright](https://www.ruby-forum.com/u/larrywright)\
**Post date:** [April 1, 2006, 9:56pm UTC](https://www.ruby-forum.com/t/what-ide-for-rails-on-osx/56614/3 "2006-04-01T21:56:27Z")

</div>

well, I’ve tried it now but I can’t get it to work. I’m getting this.

No connection to breakpoint service at druby://localhost:42531  
(DRb::DRbConnError)  
Tries to connect will be made every 2 seconds…

I tried the supposed OSX work around of

sudo ip6 -d lo0

followed by:

./script/breakpointer --client-uri=druby://localhost:12345

but with the same result. Any suggestions?

---

<div class="post-metadata">

**Author:** ![larrywright](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9fc348/32.png) [@larrywright](https://www.ruby-forum.com/u/larrywright)\
**Post date:** [April 1, 2006, 10:26pm UTC](https://www.ruby-forum.com/t/what-ide-for-rails-on-osx/56614/4 "2006-04-01T22:26:56Z")

</div>

Larry W. wrote:

> well, I’ve tried it now but I can’t get it to work. I’m getting this.
> 
> No connection to breakpoint service at druby://localhost:42531  
> (DRb::DRbConnError)  
> Tries to connect will be made every 2 seconds…
> 
> I tried the supposed OSX work around of
> 
> sudo ip6 -d lo0
> 
> followed by:
> 
> ./script/breakpointer --client-uri=druby://localhost:12345
> 
> but with the same result. Any suggestions?

This is actually how it is _supposed_ to work. It only comes to life  
when a breakpoint is encountered in your code. So, let’s say you insert  
a breakpoint somewhere in your code, then with a browser hit your  
application in a way that the breakpoint is encountered. Then the  
terminal that breakpointer is running in will become an irb session with  
all the variables up to that point in the code available.

---

<div class="post-metadata">

**Author:** ![larrywright](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9fc348/32.png) [@larrywright](https://www.ruby-forum.com/u/larrywright)\
**Post date:** [April 1, 2006, 10:05pm UTC](https://www.ruby-forum.com/t/what-ide-for-rails-on-osx/56614/5 "2006-04-01T22:05:41Z")

</div>

Sorry, I have not used it myself (just noticed it in my travels) but  
try running netstat -an while its running and see if anything is  
listening on that port.

---

<div class="post-metadata">

**Author:** ![larrywright](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9fc348/32.png) [@larrywright](https://www.ruby-forum.com/u/larrywright)\
**Post date:** [April 1, 2006, 10:39pm UTC](https://www.ruby-forum.com/t/what-ide-for-rails-on-osx/56614/6 "2006-04-01T22:39:26Z")

</div>

On 4/1/06, Brad D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > sudo ip6 -d lo0  
> > application in a way that the breakpoint is encountered. Then the  
> > terminal that breakpointer is running in will become an irb session with  
> > all the variables up to that point in the code available.

You’re right. It is working. The documentation at the link above seems  
to  
suggest that this is an error condition, but it’s working fine. Thanks.
