Thursday, April 21, 2011

Add Rails Support to Netbeans 7.0

I always liked Netbeans for coding: it supports ton of languages, can be installed in Windows, Linux and MaC, and is stable in all of them. Even it demands more resources than a text editor, this is not a problem in current computers.

The latest release (7.0) dropped official support for Rails :( .
However you can continue using it via a community maintained plug-in:
  •  Install Netbeans from http://netbeans.org/downloads/index.html (I picked PHP distribution since it is the lighter one)
  • Add a plugin repository : 
    • Tools -> Plugins -> Settings 
    • click 'Add' and write a name (e.g: Beta rails) and a url 'http://updates.netbeans.org/netbeans/updates/7.0/uc/beta/stable/catalog.xml.gz'
  • refresh available plugins, filter by 'rails' and install it
  • Restart IDE, rescan Ruby platforms:
    • Tools -> Ruby Platforms --> Autodetect Platforms
 
Profit

 here are some links for more information on NB + Rails:
  • http://blog.enebo.com/
  • http://wiki.netbeans.org/RubyCommunityInformation 

2 comments:

  1. Hi, thanks for posting a tips-full article, I had learned more things on this blog, Keep on blogging, thanks .
    JAVA Training in chennai

    ReplyDelete