Re: Re: jruby here?

Marnen Laibow-Koser
Fri, 17 Dec 2010 20:04:17 -0000

Msan Msan wrote in post #969134:
> On 17 December 2010 17:50, Marnen Laibow-Koser
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
> wrote:
>> Msan Msan wrote in post #969090:
>>> There is someone using jruby?
>>> I''d like to know some experiences and some opinions about
jruby on
>>> rails.
>>
>> I use JRuby for one non-Rails project. In most situations, I
don''t see
>> much point in using it for Rails, largely because I don''t like
>> server-side Java deployment options.
>>
>> What''s your actual question?
>
> No specific question, I would only know some opinions about the use of
> jruby.
> I''ve used ruby with rails but pretty soon I''ve tried
jruby with rails.
> I''ve found it much simpler to setup and upgrade, you need only the
> .tar or .zip file and extract it on pc.

Same for any other Ruby, particularly if you use RVM.

> The deployment is very simply too, you have to create the .war file
> and deploy it on tomcat or glassfish or whatever servlet container and
> that''s all.

I wouldn''t call anything involving servlet containers
"simple".
Passenger is a lot simpler.

> Also about all the gems are supported by jruby

Not true.  Any gem with C extensions won''t run on JRuby unless the
extensions have been ported.  (Last I heard, even such a well-known gem
as Nokogiri didn''t work on JRuby.)

> and, not least, it run
> on the jvm then it has the jvm thread support.

How often do you find yourself needing this, at least for Rails?

> I think jruby is really a good choice.

For some projects, yes -- I''m using it (with Monkeybars) to create a
Swing desktop application in Ruby.  But I don''t think I''d want
to use
JRuby for a typical Rails project.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org

Sent from my iPhone

--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.