Setup – NetBeans for Ruby


Overview

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:

  1. Pre-requisites
  2. Downloading and installing NetBeans IDE for Ruby Development

Pre-requisites

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:

sudo chmod a+x netbeans-6.9.1-ml-ruby-linux.sh

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:

sudo ./netbeans-6.9.1-ml-ruby-linux.sh

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…

Conclusion

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…

Enjoy!!!

Advertisements
  1. Rami
    April 12, 2011 at 07:37

    Thank you for the great howto 🙂 it helped me a lot 😀

  2. Vijay Prasad
    October 12, 2011 at 07:49

    Thanks buddy it help me to set up Netbean-6.9.1 in ubuntu 10.10.

  3. Gennady
    April 28, 2012 at 14:46

    How to configure MongoDB on NetBeans-6.9.1?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: