NetBeans 6.0, Leopard and running a project in browser

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” 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.

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.

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

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.

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.

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

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