Best IDE for ruby and rails development

If your on a windows or even linux system I might recommend to you
Komodo
IDE. It has a very good and customizable syntax highlighting, Regexp
tool
kit, customized indentation guides, allows you to track projects and a
lot
of other stuff. If you are on a Mac, textmate seems to be the most
popular.

AJay M. wrote:

Hi All

Could anyone tell me which is best IDE for ruby and rails development.
at least we can know features of IDEs that other ruby people are using

cheers

Jeet

Since you seem to be looking for an IDE to use, I will separate my
message
into two parts. The first, how to go about finding a good IDE for you
and
second about my Integrated Development Environment choices.

Finding the right IDE for you:

You need to ask your self some questions about your work habits and
needs first.

0.) What Operating System are you using such as Windows XP, Debian,
NetBSD,
Mac OS X, e.t.c. Will you need to work on different platforms? For
example I
often work on Ruby files from Windows XP and FreeBSD. → You need an
IDE that
supports your work environment(s).

1.) What level of experience do you have or wish to have with the
technology
involved. Do you prefer point & click friendly or like textual
interaction?
With Ruby you shouldn’t be afraid of running Ruby programs from the
Command
Line Interface, it’s really very simple in Ruby. If you want to just
mouse
away, you’ll want an IDE that offers Graphical front ends for Running
and
Debugging your programs. This could get more complicated for Rails, I’m
not
sure as I’ve only used IDE’s for oriented for regular programming (not
Web
Development). Play to your strengths, needs to learn, or requirements
for ease
of learning.

2.) How much will you use the software? If you spend little time working
on
source code any text editor will do, preferably any thing that can
convert
between Unix/DOS/Mac style file formats (search wikipeda for end of line
if
interested on that subject). If you edit files A_L_O_T you will want
an
editing system that is comfortable for you to use, very powerful, and
extensibility would be a plus.

3.) Do you use more then one Language? This is a two pronged question,
you’ll
need an IDE that supports what ever character set and language you use.
For
example, some people may prefer an IDE that works in Japanese but write
their
code in English. Also the same for Programming Languages. If you’ll only
be
working in Ruby/Rails some thing Ruby oriented will be fine, if you are
only
doing Web D. some thing geared for it with plugins for Ruby
would
probably be best. If like me, you like learning several different
programming
languages but not IDE’s and Keystrokes, you’ll want some thing that can
handle
multiple languages well.

Generally I suggest KDevelop, Visual Studio, and Eclipse to people
depending
on their needs. I have never used Eclipse or NetBeans but I hear they
are very
good IDE’s.

Play to your strengths, list your needs and fill them, and try IDE’s.
You can
also find a bit of a comparison on IDE’s here,

About my Development Environment.

My first IDE was Dev-C++, I liked it a lot but soon I found that I did
not
want to use a different IDE for each language I’d ever use. Dev-C++,
Code::Blocks (C/C++), KDevelop (many languages!), and Microsoft Visual
C++
2005 Express Edition, I’ve tried but never found useful. For the IDE’s
I’ve
used, Visual Studio is by far the most mature user interface (but the
compiler
can kiss my grits), while KDevelop is probably the most featureful I’ve
used
but is Linux focused. I require tools that can be used on at least the
most
major OS groups: Windows NT, Linux/GNU, Mac OS X, and BSD Unix.

I decided I would skip IDE’s all together and use a POTE, Plain Old Text
Editor ! For this there are many, choosing one goes the same way as an
IDE.
The Editors I normally suggest to people are Emacs, Vim, KATE, and
occasionally jEdit.

I predominantly use Vim, it’s extremely powerful, the best documented
application I have EVER seen, extensible, customizable, and like any
good Text
Editor with Programmers in mind. Has support for many languages,
including
Ruby.

I write my code in Vim, some times I use MicroEMACS, New Vi, or KATE but
mostly it’s Vim. I keep it in one tab on my terminal emulator (Konsole).

I keep language documentation handy, be it via man, ri, perldoc, QT
Assistant,
or just online documentation. usually I employ another Konsole tab or a
Web
Browser for this.

And I keep a tab in my terminal emulator open for running and debugging
the
program. When working with Ruby I usually have a tab with irb running as
well.
The interactive Ruby interpretor is an invaluable command line tool for
working with Ruby. It is definitly one of the reasons I enjoy using Ruby
so
much ! → No need to write a scratch file(s) to test code before
including it
in my current prototype.

Emacs, IDE’s, and Vim can all do these things through their provided
interfaces as can many other good editors. I just do things the way I
prefer.
Using a text editor like Vim or Emacs I can have the same environment
for many
languages and on many platforms, this is what I like.

TerryP.

Languages: C, English, Ruby, Perl, C++, Java, XHTML, CSS, PHP, learning
German
and wishing for the time to learn Ada!

On Wed, Sep 05, 2007 at 05:00:14AM +0900, Ari B. wrote:

at least we can know features of IDEs that other ruby people are
using

shell and vi

Bah! echo and an empty file

Vim and tcsh, darnit.

This isn’t the stone age, you know.

On Tue, Sep 04, 2007 at 07:50:36PM +0900, Phil wrote:

Amount of features != quality of IDE.

My recommendation, as well as of others, download a few IDEs, and test drive
them to find out with which one you are most comfortable. That will be the
best IDE you can find: Yours.

I personally use NetBeans[0], for work across multiple files, and SciTE[1]
for quick-and-dirty scripts, and irb[2] for quick
prototyping/proof-of-concept work.

I mostly only use SciTE when trapped on MS Windows – which raises the
question:

To what OS platform is this question meant to be relevant?

The answer to the question of what IDE is best (for you) may vary
depending on your OS environment.

On Tue, Sep 04, 2007 at 09:40:13PM +0900, stephen O’D wrote:

Emacs is always worth a shout - works the same on windows, linux,
terminal and OS X and has good Ruby and Rails support. There is a bit
of messing about to get it working though, but you can always read my
tutorial: Emacs for Rails | Software bits and pieces
if you are interested!

Perhaps relevant:

http://unix.rulez.org/~calver/pictures/curves.jpg

My vote still goes to Vim, tcsh, and urxvt.

On Wed, Sep 05, 2007 at 04:15:07AM +0900, barabba wrote:

I use always Arachno IDE for ruby and also for rails development. It
has a big potential but supports mainly windows (linux version is too
old). Eclipse is for me too big. Vim and Emacs are complex to setup.

I don’t find Vim to be complex to set up at all. I do something like
this at the shell:

portinstall vim

. . . and in a few moments, it’s set up. I wonder what complexities
you’ve encountered.

On Wed, Sep 05, 2007 at 08:56:16AM +0900, M. Edward (Ed) Borasky wrote:

remotely resembling programming in Perl, Ruby or R.
I do, too, for shell-like stuff (re: Perl and Ruby). I just use tcsh as
the environment that glues my “IDE” together.

Am I the only person here tempted to pronounce tcsh “taco shell”?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chad P. wrote:

using

shell and vi
Bah! echo and an empty file

Vim and tcsh, darnit.

This isn’t the stone age, you know.

I’ll have to admit I’m used to vim, but I’ve never experienced tcsh. I
was a csh person for a long time (BSD 4.3 era – nobody used the
Bourne shell and I don’t even think the Korn shell existed.) But aside
from an occasional “foreach i in C??? do; …” I do everything even
remotely resembling programming in Perl, Ruby or R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG3fCR8fKMegVjSM8RAq0JAJ9u2BZ4jno0hTrNi5RDGlFKGLA+FACdEpX6
2T/6h0rPihWXCIMLZ5O7K1M=
=b/lm
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chad P. wrote:

remotely resembling programming in Perl, Ruby or R.

I do, too, for shell-like stuff (re: Perl and Ruby). I just use tcsh as
the environment that glues my “IDE” together.

Am I the only person here tempted to pronounce tcsh “taco shell”?

Well … as far as I know you’re the first. :slight_smile: I happen to work in an
environment where “TCL” has two meanings. But it’s pronounced “tickle”
either way. :slight_smile:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG3fiZ8fKMegVjSM8RAktEAJ9cB3jbx5YQK+JTGqq8QYrwEqh67gCbBkRc
sDGJoppOvRD/beoptTzVd4Q=
=+5Md
-----END PGP SIGNATURE-----

Greg D. wrote:

Haha !

On Wed, Sep 05, 2007 at 05:00:14AM +0900, Ari B. wrote:

Bah! echo and an empty file

dd if=/dev/tty of=/dev/hda1

On Tuesday 04 September 2007 20:13:03 Rick DeNatale wrote:

Personally I currently use vim with a bunch of plugins.

I tried out radrails this weekend, but found that it just performs
horribly on the hardware I’ve got available. Part of me thinks I
SHOULD be using it since I actually worked on Eclipse and it’s
predecessors at IBM, but…

I’ve got my eyes on a Macbook, hopefully in the not too distant
future, so I’ll probably follow the textmate herd.

Yup, on my machine java needs about 200Mb of memory to feel fine.

Best regards,
Arthur M…

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arthur M. wrote:

Yup, on my machine java needs about 200Mb of memory to feel fine.

Best regards,
Arthur M…

After all these years, Java is still a memory hog? Aren’t there some
things you can do at JRE startup time if you know you’re going to have a
smaller than normal workspace?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG3lTv8fKMegVjSM8RAlciAJ0REJyYRlJXQa1/khw6skP4St/KKwCgvw27
qj2utrfRhfwpt1ZIipWoDh4=
=QftS
-----END PGP SIGNATURE-----

----- “AJay M.” [email protected] wrote:

I am still confused which IDE to choose among freeride, aptana,
radrails ,netbeans which is most feature rich ?

I’ve run the whole gamut, from RadRails to vim to emacs to FreeRide to
jEdit to textmate to Netbeans…and I can safely say that NetBeans, in
terms of an “IDE”, wins hands down. It has the best auto-complete
features and incredible debugging capabilities built right in. You will
not go wrong with NB.

Now, I’m not saying it’s any better for you than emacs or vim or jEdit
or textmate…that is highly subjective. Nor am I saying it’s any better
for text editing. Just that, in terms of what most consider an IDE by
today’s standards, NetBeans is the best available for Ruby.

John

On Wed, Sep 05, 2007 at 11:07:35AM +0900, Greg D. wrote:

On Wed, Sep 05, 2007 at 05:00:14AM +0900, Ari B. wrote:

Bah! echo and an empty file

dd if=/dev/tty of=/dev/hda1

I think you “win”. I’m still going to use Vim and tcsh, though.

Let me rephrase the question to something more answerable:

Which IDE do you use for Ruby and/or Rails development, and why do you
use
that IDE?

And to the original poster: What features are you looking for in an IDE
for
Ruby?

I use SciTE because it has Ruby syntax highlighting, can export
colored-code
to HTML, and is super-quick to load. It also shows the console when
running
your script, without going out to the command prompt. But, I don’t use
it
for hard-core development. If I were using it for hard-core
development,
I’d like as many of the features from Jetbrains’ IntelliJ IDEA as you
could
possibly get, but for Ruby.

Which IDE has the most of those? Recently, Charles Nutter said some
good
things about NetBeans
(Headius: NetBeans Ruby Support is the BOMB
), but I haven’t tried it yet myself. Can anyone say which Ruby IDEs
are
similar to IDEA, and in what ways (or ReSharper if you are more familiar
with the .NET world)? I realize some things would be near-impossibility
in
a dynamic language, without tracing from the start of a program to how
you
get to a particular piece of code.

-Sammy L.

This question comes up from time to time. My vote, if you have been
using Microsoft Visual Studio, is the Ruby In Steel plugin for VS. It’s
not free, but well worth the price.

http://www.sapphiresteel.com/

Take a few minutes and view the videos if you want to see the product in
action.

http://www.sapphiresteel.com/Ruby-In-Steel-Movies

Bill

Not to divert the flow of thought at all but…
has anyone successfully been able to integrate camping with NetBeans
for development? I was playing with it this weekend, and ended up
resorting to manually running camping from a terminal, instead of
being able to launch it from NB.
Hopefully it’s just because I’m a netbeans noob!

–Kyle