Archive for September, 2009

NetBeans, Ruby and Snow Leopard - automatic Mongrel startup

Recently, NetBeans was not able to start up Mongrel automatically from a Rails project. I had to open up a console and manually start “script/server” - not what I expect when using an IDE.
I thought it was because of Rails 2.3.x - unsupported by Netbeans as I suspected.The actual reason behind it was the update to Ruby 1.8.7 in Snow Leopard!
Make sure to give that info to Netbeans via the “TOOLS” -> “RUBY PLATFORMS” window. Just delete your old Ruby record from the list left (don’t delete JRuby, though) and click the “AUTODETECT” button (red circled below):
Autodetect_Ruby_Platform

After that, you’ll see the new Ruby 1.8.7 (see screenshot below). Click “Close” and voilá! :-)
Ruby 1.8.7 in Netbeans

| Comments

  • RSS recent del.icio.us posts

  • tools:

  •  

  •  

    StackOverflow Badge: