Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Rails on JRuby?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
John Wells  
View profile  
 More options Apr 27 2005, 9:37 am
Newsgroups: comp.lang.ruby
From: "John Wells" <li...@sourceillustrated.com>
Date: Wed, 27 Apr 2005 22:37:52 +0900
Local: Wed, Apr 27 2005 9:37 am
Subject: Rails on JRuby?
Guys,

I'm fairly new to the ruby world...one of those being lured over by the
RoR framework.

As I've mentioned in past posts, my company is primarily a Java shop.
While we really like RoR's speed of development, we'd actually prefer to
be able to use it in our existing servlet containers.

With Jython, you can indeed run python scripts as servlets.  We have, in
fact, used this functionality in the past, but mainly for prototyping
applications that would later become Java-based.

With RoR and JRuby, however, we'd be interested in writing full-fledged
applications in ruby, and then running them within the container.  I've
searched the web for information on how to do this or whether it's even
possible, yet haven't run across a good resource yet.

Can anyone tell me A. if it's possible, and B. if not, what remains to be
done with JRuby to make it possible?  If it may be possible in the future,
but work remains to be done, I'd like to get involved and help out.

Thanks for your time.

John


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas E Enebo  
View profile  
 More options Apr 27 2005, 9:54 am
Newsgroups: comp.lang.ruby
From: Thomas E Enebo <en...@acm.org>
Date: Wed, 27 Apr 2005 22:54:49 +0900
Local: Wed, Apr 27 2005 9:54 am
Subject: Re: Rails on JRuby?
On Wed, 27 Apr 2005, John Wells defenestrated me:

> Can anyone tell me A. if it's possible, and B. if not, what remains to be
> done with JRuby to make it possible?  If it may be possible in the future,
> but work remains to be done, I'd like to get involved and help out.

  As far as I know, no one has looked at this yet.   I am guessing making
RoR run within Java could work in one of two ways (and I know little about
RoR so anyone can jump in here -- I plan on learning more soon though :)):

1. Change request evaluation code in RoR to work in a servlets environment
2. Run apps in a full ruby way and run webrick as the server

I have no idea how close RoR evaluation is to the servlets model for 1,
and though we have some very new and very rudimentary sockets support we are
a ways from 2 (because of lacking pieces of socket support).

Also if RoR uses continuations, then this will be a non-starter since
we do not support them yet.

We would welcome any help with JRuby.  Investigating how to integrate RoR
into a J2EE environment would be pretty cool.  Working on socket support
would also be welcome.

If you want to get your hands dirty, you can join one of our JRuby-specific
mailing lists:
  http://jruby.sourceforge.net/contact.shtml

-Tom

--
+ http://www.tc.umn.edu/~enebo +---- mailto:en...@acm.org ----+
| Thomas E Enebo, Protagonist  | "Luck favors the prepared    |
|                              |  mind." -Louis Pasteur       |


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lyndon Samson  
View profile  
 More options Apr 27 2005, 12:16 pm
Newsgroups: comp.lang.ruby
From: Lyndon Samson <lyndon.sam...@gmail.com>
Date: Thu, 28 Apr 2005 01:16:32 +0900
Local: Wed, Apr 27 2005 12:16 pm
Subject: Re: Rails on JRuby?
Would you believe... Rails on DotNet???

Something I just tried was using http://www.ikvm.net/index.html to
convert jruby jar to a dotnet CLR exe. Seems to work without problems
for my learningruby.rb source.

It's all getting a little Lewis Carrol for me now :-)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Corbin  
View profile  
 More options May 1 2005, 6:12 am
Newsgroups: comp.lang.ruby
From: David Corbin <dcor...@machturtle.com>
Date: Sun, 1 May 2005 19:12:00 +0900
Subject: Re: Rails on JRuby?
On Wednesday 27 April 2005 09:37 am, John Wells wrote:

That would be cool.  It would also make migrating Java web apps much easier.

The best stategy that i can see, would to be write a Java Servlet that calls
RoR scripts.  

Based on my experience, there are probably half-a-dozen bugs/missing features
in JRuby that would need to fixed/implmented based on the size of Rails.  
This could easily take several full days of work, or more if they're really
bad cases...  I certainly look forward to your help, and hope to see you on
the jruby-devel list.

David


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google