Netbeans 6.0.1
Problem occurred during debugger start: Cannot connect to the debugged process in 10s.
From terminal:
gem install ruby-debug
gem install ruby-debug-base
gem install ruby-debug-ide
didn’t do anything. I did the same thing from within Netbeans and it worked. I think it’s looking at it’s own set of gems. Then it asked me to install Fastdebug, but it failed. At least I can debug now again.
Posted 2 years, 3 months ago at 11:37 am. Add a comment
Textmate is great. It really is.
anyway, Netbeans
Netbeans gives you the full power of an IDE over a standard text editor. With code completion, in code debugging and the ability to see all of your local variables visually.
Tried to install the debug gem directly, don’t want to make my “own” copy of gems of Ruby. I want to use my current copy which is just fine.
Make myself the owner of the systems gems (not my local gems) which was in /Library
*update*
I guess netbeans didn’t know where to look for the gems.
thanks to G. Hamilton here for finding a fix for this. I guess 6.1 is supposed to fix the leopard problems. the solution was to put this:
export GEM_PATH=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8:/Library/Ruby/Gems/1.8
export GEM_HOME=/Library/Ruby/Gems/1.8
in here:
$HOME/.netbeans/6.0/etc/netbeans.conf
*side note*
Apparently changing the permissions on on the /usr/bin directory isn’t a good idea. Who would have thought? I thought I would be able to change it back because I live in the magical land of make believe along with barbie. Now all my sudo and su and other permissions are screwed up. I guess in ubuntu you can start the recovery console, instead…
popped in the OSX install disk and booted
ran disk utility
hit the fix permissions button, done!
Posted 2 years, 3 months ago at 11:37 am. Add a comment