# NetBeans 6.0, Leopard and running a project in browser

**URL:** <https://www.ruby-forum.com/t/netbeans-6-0-leopard-and-running-a-project-in-browser/122746>\
**Category:** Rails\
**Created:** [December 11, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/netbeans-6-0-leopard-and-running-a-project-in-browser/122746 "2007-12-11T18:27:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![erikgj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/bbce88/32.png) [@erikgj](https://www.ruby-forum.com/u/erikgj)\
**Post date:** [December 11, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/netbeans-6-0-leopard-and-running-a-project-in-browser/122746/1 "2007-12-11T18:27:39Z")

</div>

Hello,

I would like to ask if is there anyone using the latest NetBeans 6.0  
under Leopard or at least on Mac Os. I can’t get it work properly. The  
first problem I had is that it didn’t find my web browsers automatically  
(like on Linux) and when I’m trying to run a project it runs the Mongrel  
server, but I get an error like: “Couldn’t connect to the webserver -  
[http://localhost:3000](http://localhost:3000)” so I must opend the browser manually.

I’m pretty new to Mac (I used to work on Linux before that) so maybe I  
did something wrong, but maybe not so I will really appreciate any hints  
or solutions for those things.

Thanks very much.

---

<div class="post-metadata">

**Author:** ![erikgj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/bbce88/32.png) [@erikgj](https://www.ruby-forum.com/u/erikgj)\
**Post date:** [December 11, 2007, 9:29pm UTC](https://www.ruby-forum.com/t/netbeans-6-0-leopard-and-running-a-project-in-browser/122746/2 "2007-12-11T21:29:26Z")

</div>

Netbeans 6.0 used to automatically launch the browser when I started a  
project, but now I get that same error message. I have to manually  
launch the project and navigate to the page. Not sure what causes this.

---

<div class="post-metadata">

**Author:** ![erikgj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/bbce88/32.png) [@erikgj](https://www.ruby-forum.com/u/erikgj)\
**Post date:** [December 12, 2007, 5:26am UTC](https://www.ruby-forum.com/t/netbeans-6-0-leopard-and-running-a-project-in-browser/122746/3 "2007-12-12T05:26:23Z")

</div>

NetBeans is pretty sensitive to where components are on the path. It  
does not use your shell profile to setup the path. If your rails is  
not setup where they think it is you can have problems. In particular  
getting it to find the fast debugger is a pain. How it starts the  
browser for a project is configurable to a degree. You may also want  
to use the verbose debugging / logging to see what is going on.

Michael

[http://wiki.netbeans.org/wiki/view/RubyDebugging#section-RubyDebugging-HowToFileABug](http://wiki.netbeans.org/wiki/view/RubyDebugging#section-RubyDebugging-HowToFileABug)

---

<div class="post-metadata">

**Author:** ![erikgj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/bbce88/32.png) [@erikgj](https://www.ruby-forum.com/u/erikgj)\
**Post date:** [December 12, 2007, 10:30am UTC](https://www.ruby-forum.com/t/netbeans-6-0-leopard-and-running-a-project-in-browser/122746/4 "2007-12-12T10:30:46Z")

</div>

On Dec 12, 2007, at 4:35 AM, Michael L. wrote:

> NetBeans is pretty sensitive to where components are on the path. It  
> does not use your shell profile to setup the path. If your rails is  
> not setup where they think it is you can have problems. In particular  
> getting it to find the fast debugger is a pain.

I configured ruby in Preferences -\> Ruby -\> Platform to be /usr/local/  
bin/ruby, installed the fast debugger as a gem and selected it in the  
same place, and all worked flawlesly from day one.

---

<div class="post-metadata">

**Author:** ![erikgj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/bbce88/32.png) [@erikgj](https://www.ruby-forum.com/u/erikgj)\
**Post date:** [December 16, 2007, 10:38pm UTC](https://www.ruby-forum.com/t/netbeans-6-0-leopard-and-running-a-project-in-browser/122746/5 "2007-12-16T22:38:06Z")

</div>

Xavier N. wrote:

> On Dec 12, 2007, at 4:35 AM, Michael L. wrote:
> 
> > NetBeans is pretty sensitive to where components are on the path. It  
> > does not use your shell profile to setup the path. If your rails is  
> > not setup where they think it is you can have problems. In particular  
> > getting it to find the fast debugger is a pain.
> 
> I configured ruby in Preferences -\> Ruby -\> Platform to be /usr/local/  
> bin/ruby, installed the fast debugger as a gem and selected it in the  
> same place, and all worked flawlesly from day one.

You compiled ruby on your own? I tried it through MacPorts, but it’s  
still the same.

---

<div class="post-metadata">

**Author:** ![erikgj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/bbce88/32.png) [@erikgj](https://www.ruby-forum.com/u/erikgj)\
**Post date:** [December 16, 2007, 10:57pm UTC](https://www.ruby-forum.com/t/netbeans-6-0-leopard-and-running-a-project-in-browser/122746/6 "2007-12-16T22:57:05Z")

</div>

On Dec 16, 2007, at 10:38 PM, Erik Gyepes wrote:

> > I configured ruby in Preferences -\> Ruby -\> Platform to be /usr/  
> > local/  
> > bin/ruby, installed the fast debugger as a gem and selected it in the  
> > same place, and all worked flawlesly from day one.
> 
> You compiled ruby on your own?

Yes, compiled from sources.

– fxn
