About Ruby Development in NetBeans

See Also

The NetBeans Ruby Pack provides tools for programming in the Ruby language, including the JRuby and Rails runtimes. Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. Ruby support in NetBeans has the following features:

Advanced Source Code Editor

This language-aware editor indents and completes your Ruby code and performs semantic syntax highlighting. The editor does live parsing of your code, matches words and brackets, marks errors and occurrences, displays hints and rdoc, and offers well integrated refactoring, debugging and JUnit testing.

For more information on the editor, see the links under "Using the Ruby Editor" on the

Ruby Gems Installation Manager

Built-in support for the RubyGems packaging system lets you easily extend your Ruby installation. You can add and manage freely available Ruby software libraries and distribute your own packages. To start the Gem Manager, choose Tools > Ruby Gems. You can see which Gems you have installed on the Installed tab, and you can install new gems on the New Gems tab.

For more information on Ruby Gems, see the following web page:

Ruby on Rails

For Ruby on Rails projects, the IDE supports JRuby by default, as well as native Ruby if you have installed your own native version of Ruby as described in

If you want to install your own version of Ruby on Rails (for example, to get a native Ruby interpreter for better debugging support), see the following web page for more information:

In the Projects window, the logical project view separates controllers from models, views, database migrations. You can use the Rails code generator for quick scaffolding and speed up your workflow with well-integrated Rake targets and database migrations. The IDE supports the WEBrick and Mongrel web servers and RHTML files.

Ruby Project Support

The IDE supports both Ruby projects and Ruby on Rails projects. You can use either the built-in JRuby interpreter and Rails support or any other Ruby installation on your system. The IDE provides Rake build tool integration and gives you access to the Interactive Ruby Shell (IRB).

For information on creating Ruby and Ruby on Rails projects, see Working With NetBeans Ruby.

For the latest information on NetBeans Ruby support, see the following web page:

See Also
Working With NetBeans Ruby

Legal Notices