Jruby and ruby on mac

Hi Comunity,

I developed some Ruby on Rails webapplications.

I heard a lot of JRuby and the capability to embed Java classes.

My question, is it possible to run an existent Ruby on Rails application
using JRuby?

Maybe by starting the Application with “jruby script/server”?

Thanks ahead for every suggestion or tutorial hint etc.!!

Regs

Hermann

Yes it’s perfectly possible, with great performance results.
Usually all you need to change is database drivers. Because they are
usually low-level plugins you need a java-based driver for your
database.

On Thu, Feb 4, 2010 at 8:42 AM, Herman Müller [email protected] wrote:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi Herman,

Also, take a look at JRuby wiki, there is a full section devoted to
JRuby on Rails there:

http://kenai.com/projects/jruby/pages/Home

Thanks,
–Vladimir

On Thu, Feb 4, 2010 at 8:42 AM, Herman Müller [email protected] wrote:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Yes, but be aware of gem incompatibilities. You may have issues with
gems
that require native extensions to be built, though many of the best gems
have support for both JRuby and MRI/YARV (Hpricot, Event Machine just to
name a few).

Hi Maarten, Vladimir and Ikai,

thanks alot for your answers!!!

I tried JRuby and it seems that it works fine:-)

Regs

Hermann

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs