Hello Ruby with NetBeans
This Tutorial will show you how to download, install and create a Hello World with NetBeans for Ruby.
Main Learning's
After following this tutorial you will learn how to:
- Download and install Net Beans for Ruby
- Write and execute the Hello World Example for Ruby
Versions used:
- OS: Windows XP SP2
- NetBeans 6.1 beta for Ruby
Tutorial Steps:
- Download and Install NetBeans for Ruby
- Go to NetBeans download page http://download.netbeans.org/netbeans/6.1/beta/
- Select the Ruby NetBeans (e.g., netbeans-6.1beta-ruby-windows.exe)
- execute the installer (e.g., netbeans-6.1beta-ruby-windows.exe)
- Create the Hello World project
- Open NetBeans IDE

- Create a project
- File -> New Project…

- Select Ruby Application
- Select the project location (in my case c:\codebase)

- Click on Finish
- Execute the Hello World project
- Note that by default NetBeans for Ruby created main.rb with the command puts “Hello World”

- Select Run -> Main Project
- The excepted out put--Hello World—shows up n the Output console window.

Comments (0)
You don't have permission to comment on this page.