Ruby / Integrated development environments

From WhyNotWiki

Jump to: navigation, search

Aliases: Ruby IDEs, Rails IDEs

Ruby applications  edit   (Category  edit)


Contents

[edit] RadRails

RadRails edit


Aliases: Aptana RadRails / Ruby Development Tools, Aptana RadRails

Have used: yes
Rating: star_full.gif star_full.gif star_full.gif
Homepage: RadRails - Aptana
Documentation: RDT (Ruby Development Tools) - Aptana [http://www.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration

Plugging Aptana into an existing Eclipse configuration]




Depends on: Aptana, Eclipse, Java
License: Eclipse
Implementation language: Java, probably



[edit] How I installed it

  • Download the latest release from http://update.aptana.com/update/3.2/aptana_update.zip. Extract the downloaded .zip into the plugins and features directories of Eclipse, and then restart Eclipse.
  • From the Help menu in Eclipse, select Software Updates > Find and Install... to open an Install/Update pop-up window (shown below).
  • On the Install/Update pop-up window, choose the Search for new features to install option, and click the Next button.
  • Check the box next to "Aptana: Ruby on Rails Development Environment"
  • Install all features

[edit] Content Assist Templates / Snippets

[http://drnicwilliams.com/2006/11/06/post-halloween-radrails-trick-all-textmate-snippets-available/#radrails-snippets1 Dr Nic » Post-Halloween RadRails trick - all TextMate snippets available]

Dr Nic Williams. RadRails Templates (http://radrailstemplates.com/). Retrieved on 2007-05-11 11:18.


RadRails is a wonderful editor and IDE for developing Ruby on Rails applications.

Templates (aka Snippets) are an inline editor tool to generate text fast, within RadRails text editors. Type a couple of characters, press Ctrl + Space and you get instant blocks of text. The activation characters are the names of the templates.

ActivateTemplateDemo

Even better, you can quickly insert text within a generated block if the template includes variables. Once you learn a few template names, your speed of development will rapidly increase: perhaps now you can build code as fast as you can think!?

RadRails 0.7.1 comes with a limited set of templates for the Ruby/Rails editor, and the RHTML editor. RadRails developers are considering adding support for CSS and Javascript editors too. Please encourage them on the forum.

...


http://drnicwilliams.com/wp-content/uploads/2006/11/ruby-rr-templates.xml


...
<template autoinsert="true" context="ruby" deleted="false" description="tm - Hash Pair — :key => "value"" enabled="true" name="">:${key} => ${value}</template>
<template autoinsert="true" context="ruby" deleted="false" description="tm - render (partial, object)" enabled="true" name="rpo">render :partial => "${item}", :object => ${object}</template>
<template autoinsert="true" context="ruby" deleted="false" description="tm - YAML.load(file)" enabled="true" name="Yl">
File.open(${yaml}) { |${file}| YAML.load(${file}) }
</template>
...
 


[edit] Mondrian

Homepage: http://www.mondrian-ide.com/
Documentation: http://www.mondrian-ide.com/in_depth.html



Description: Mondrian is a cross-platform project-manager and editor for the Ruby language. Written in 100% native Ruby using the FOX GUI toolkit, Mondrian has the familiar look and feel of a modern IDE while remaining dedicated to the uniqueness of the Ruby language and its community.





An Overview of Mondrian (http://www.mondrian-ide.com/in_depth.html). Retrieved on 2007-03-23 16:33.

Due to Mondrian's consistent design, it is easy to learn and use to anyone familiar with other popular editors such as Visual Studio, so you can concentrate on debugging your program instead of wrestling with the interface. As you type, the object browser updates with a tree hierarchy of your source code's modules, classes and methods. [...]

When editing a project, you can select a "main" file to execute automatically anytime you run the project with the F5 key. That way, you don't have to hunt the main file down every time you execute the program. Of course, most functions with Mondrian are available on an object-by-object basis using right-click context menus, so you can always run an individual file with ease. Mondrian runs your file in a separate process with its own input and output streams, but captures the standard error to report debugging statements and runtime errors. This allows you to execute a text-mode script in the exact same environment as it will run in the operating system. In the event of an unhandled exception, Mondrian automatically jumps to the line and file reported in the error code.

The innovative project desktop shows you a graphical overview of your files and their objects, and acts as a centralized place to manage your project. You can create new files, import existing files and even rename project files right from the IDE. In future versions, the project desktop will act as a place to store notes and possibly UML-style charts about your project.

The source code editor is based on the familiar SciTE framework, but syntax highlighting and auto-indentation are handled by Mondrian internally. Therefore, the editor can be tailored to Ruby's specific needs and supports advanced features such as regular expression recognition and variable-delimited string literals. All the familiar editing shortcuts are here, such as search and replace, undo/redo and goto line.

Speed [1]:

As you might expect with so many features updating as you type, it's a lot to handle for a scripting language like Ruby, which is inherently slower than a compiled language like C++. Very large files can take some time to load, but a great deal of care has been taken to make editing as lag-free as possible, and the IDE is as responsive as a compiled program in most cases. The payoff is that Mondrian runs identically on Windows, Linux, or any platform that supports Ruby and the FOX GUI toolkit.


[edit] FreeRIDE

Homepage: http://freeride.rubyforge.org/wiki/wiki.pl?HomePage


Project/Development: http://rubyforge.org/projects/freeride/


Description: an IDE for the Ruby programming language




Readiness: 4 - Beta


Personal tools