AJay Maurya 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 Development 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!
···
--
Email and shopping with the feelgood factor!
55% of income to good causes. http://www.ippimail.com