views:

221

answers:

2

I have just bought a MacBook for some ruby development and like the look of Aptana Studio as a really nice IDE.

The question I have, however, is that I want to know (before getting too deep into it, and potentially wasting time) is can I create plain old .rb files without the rails framework attached? Also, can I execute the ruby file straight from the IDE, or will I have to use Terminal?

As I said, I am only just learning Ruby and I am working through some books I have bought, and while I do wish to get into rails soon, I feel its important to learn the language properly, before asking rails to do a lot of stuff for me.

Any other thoughts on best practices and other potential IDE's would also be appreciated.

+5  A: 

For just fooling around with Ruby I suggested an editor, the command line, and IRB. You will have more fun and learn more, quicker.

After that, get into IDEs and Rails and all the complexity that comes with them.

MarkusQ
+2  A: 

I'd recommend Netbeans (Ruby Edition obviously) or Jetbrain's RubyMine over Aptana. I've had issues with Aptana and Ruby when I tried it. Rubymine is still in public preview release status, but it will be a paid product when it's released in a month or so. It's developed by the same people who made IntelliJ IDEA. Netbeans actually works very well with ruby and rails and it's free. Both allow you to execute ruby from within the IDE and have rails support.

I've also found irb very useful, Netbeans allows you to run irb from within the IDE as well. Having code completion and inline documentation helpful when starting out.

Jack Chu