AlwaysCharging wrote:
> Why would anyone use ruby over Jruby?  I'm admittedly a noob about all
> this stuff, but from what I've read jruby seems superior to ruby and
> quite a bit faster.  What would be the disadvantages of JRuby?  

It's Java.  This is both an advantage and a disadvantage: you already 
know about the advantages, but server-side Java can be hard to set up 
for Web stuff.  Personally, I'm using Ruby Enterprise Edition on many of 
my servers, which gives better performance but without the hassle of 
JRuby.


> I man
> it's possible to use it with rails now, and JRuby is what's used by
> default in netbeans (which is the ide I think I've settled on).  

That is a bad reason to pick JRuby.  Anyway, you probably shouldn't be 
using Netbeans: it's a good IDE, but not for Rails.  It's stupid enough 
not to pick up generators properly, and in my experience, it doesn't 
integrate all that well with Rails anyway, although I may try it again 
in a year or two.

Anyway, I would urge you (especially at first) not to use an IDE for 
Rails.  IDEs are great for heavy Java frameworks where there are lots of 
config files to automatically generate, but I do not believe they are 
necessary -- or even desirable -- for Rails.  Use a good editor such as 
KomodoEdit (my current choice), TextMate, or jEdit and a bunch of 
terminal windows.  If you use an IDE for Rails you'll actually be making 
your life harder.

> So
> why not JRuby?  Would the tutorials be all that different?

As far as the language is concerned, no.  As far as Web server setup is 
concerned, yes, very much.

Note: the server setup can actually be an advantage if you already have 
a Java setup that you want to integrate with.  I don't, so I'd rather 
not deal with Java servlet containers.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to