Setup – NetBeans for Ruby
This is a setup tutorial to get up and running quickly with NetBeans IDE for Ruby Development. I’m using the Ubuntu set up that I’ve explained in my “Setup – Ubuntu” article. I’m sure that this will work for any Ubuntu environment and if you follow the steps below you’ll have your IDE installed in next to no time.
What will be covered is how to set up the NetBeans IDE to run on your Ubuntu machine. What I’ll be going through are as follows:
- Downloading and installing NetBeans IDE for Ruby Development
Please refer to my article called “Setup – Requirements” for any pre-requisites. I’ll keep that article live with any new packages that I think should be installed.
Downloading and installing NetBeans IDE for Ruby Development
To get NetBeans up and running on Ubuntu is a lot more straightforward than getting your VM and Ubuntu up and running. All you have to do is head over to the NetBeans download site and download the Ruby version. I don’t like installing stuff I might not use so in my case I only downloaded this version, but you can also download the full version or you can later install the other add-ons by going to Tools/Plugins section inside of NetBeans. Once downloaded, open a Terminal Window and browse to the folder you just saved the install to. In my version of the file it is called: netbeans-6.9.1-ml-ruby-linux.sh. In the Terminal Window make the downloaded file executable by running the following command:
You can also run the following command. It does exactly the same thing as the above:
sudo chmod 755 netbeans-6.9.1-ml-ruby-linux.sh
Now that the file is executable you can run the installer by simply running the following command:
That will start up the NetBeans installer where you can follow the steps in the Wizard and you should have NetBeans installed in no time at all…
Now that you have your favorite Ruby IDE installed I would suggest that you head over to my article covering the install of Ruby and RVM to get up and running and write your first little Ruby app. I hope this helps those other guys out there that have gone through so many different sites and who haven’t yet been able to get all the information to a point where they can start coding…