blob: 6b5d9c79bdde4f3d1c363ef8fe132a1ba38c7eaf [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>NetBeans IDE - Ruby and Ruby on Rails Development</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="../../netbeans.css" type="text/css">
<link rel="stylesheet" type="text/css" href="../../features.css">
<meta name="description"
content="NetBeans IDE - Integrated tools for Ruby and Ruby on Rails developers">
<meta http-equiv="content-language" content="en">
<meta name="author" content="Ruth Kusterer">
</head>
<body>
<h1>Ruby and Ruby on Rails</h1>
<p> <a href="../../images_www/v6/9/screenshots/ruby.png"><img
src="../../images_www/v6/9/screenshots/ruby-cut.png"
alt="Ruby and Rails development in the NetBeans IDE" border="0"
width="648" height="196"><br>
<span class="font-11">Click image for fullscreen preview</span></a> </p>
<p> <strong>NOTE: As of NetBeans IDE 7.0, support for Ruby and Ruby on
Rails is no longer available in the standard NetBeans IDE build. Please
see the <a href="http://wiki.netbeans.org/RubySupport">Ruby Support
Wiki page</a> for more information.</strong> </p>
<table class="features-table">
<tbody>
<tr>
<td>
<h2>Ruby Source Code Editor</h2>
<p> The editor indents, completes, and highlights your Ruby code
syntactically as well as semantically. It assists you with rename
refactoring, type inference, and navigation. The editor parses your
code live as you type, so it can match words and brackets, mark errors
and occurrences, and display new quick fixes and RDoc. With a few
keystrokes you insert commonly used code snippets from live templates. </p>
</td>
<td class="screenshots-col">
<p><img alt="ruby editor"
src="../../images_www/v6/7/features/ruby-editor.png" class="box"
width="200" height="109"></p>
</td>
</tr>
<tr>
<td>
<h2>Ruby Projects</h2>
<p> The Ruby project type supports Ruby files, RSpec
specification files, and YAML files. Use the Ruby Platform manager to
choose between executing projects using JRuby, or any other native Ruby
interpreter on your system. </p>
<p> The IDE has Rake build tool integration and gives you access
to the Interactive Ruby Shell (IRB). Refactoring and support for
Test::Unit, Auto Test, Shoulda tests, and RSpec are well integrated.
You can also track hints and errors in the task list. </p>
<p><br>
</p>
<h2>Ruby on Rails Projects</h2>
<p> The Ruby on Rails project type supports Rake targets and
database migrations. The Rake Runner dialog keeps a list of the
previously entered parameters and automatically populates the list of
parameters for migrate and fixtures tasks. You can generate Rails 3
projects, or generate code through the Rails code generator graphical
wizard. The logical project view clearly separates controllers from
models, views, and database migrations. </p>
<p> Edit ERB files and deploy projects directly to the WEBrick
and Mongrel web servers. You can jump quickly between a Rails action
and its corresponding view, and warp to the browser for the URL most
relevant to the file you are editing. </p>
<h2>Ruby and Rails Debugger</h2>
<p> Single-step or run through Ruby code and ERB files. Set
breakpoints, look at local variables, navigate the call stack, switch
threads. Hover the mouse over a variable in the Editor to evaluate the
expressions and show it in a tooltip. The NetBeans IDE supports the
Fast Ruby Debugger, which also works with JRuby. You can debug Ruby
files that are not part of a NetBeans project, or attach the debugger
to any remote process started from the command line, and get all the
advantages of a user-friendly debugger frontend. </p>
</td>
<td class="screenshots-col">
<p><img alt="ruby testing"
src="../../images_www/v6/7/features/ruby-test.png" class="box"
width="200" height="142"></p>
<p><img alt="ruby files"
src="../../images_www/v6/7/features/ruby-files.png" class="box"
width="200" height="95"></p>
<p><img alt="rails generator"
src="../../images_www/v6/7/features/ruby-rails.png" class="box"
width="200" height="109"></p>
<p><img alt="ruby debugger"
src="../../images_www/v6/7/features/ruby-debugger.png" class="box"
width="200" height="63"></p>
</td>
</tr>
<tr>
<td>
<h2>Ruby Gems Installation Manager</h2>
<p> Extend your Ruby installation using the integrated Ruby Gems
packaging system. You can configure $GEM_PATH or $GEM_HOME using the
Gems installation manager. Add and manage freely available Ruby
software libraries, and distribute your own packages. The Gem Manager
even allows you to uninstall a certain version of a gem. </p>
<p>If you install the Bundler gem, you can run Bundler actions
from the project context menu.</p>
<p>&nbsp;</p>
<p><img alt="-" src="../../images_www/v6/arrow-button.gif"
width="15" height="12">&nbsp;<a
href="http://wiki.netbeans.org/wiki/view/Ruby">The Ruby Wiki</a><br>
</p>
<p><img alt="-" src="../../images_www/v6/arrow-button.gif"
width="15" height="12"> <a href="http://wiki.netbeans.org/RubySupport">Ruby
Support Wiki</a></p>
<p><br>
</p>
</td>
<td class="screenshots-col"> <img alt="ruby gems manager"
src="../../images_www/v6/features/ruby-gems.png" class="box"
width="200" height="134"> </td>
</tr>
</tbody>
</table>
</body>
</html>