Re: JRuby-Rack and Rails 2.3.5
- From: Don Morrison <elskwid@gmail.com>
- To: issues@jruby-rack.kenai.com
- Subject: Re: JRuby-Rack and Rails 2.3.5
- Date: Tue, 16 Mar 2010 12:09:08 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=M8qX61RqbDX1GJGLW0oAbKTqM+JkuDUQAfmgj0arGQZUAdNNGTQAm3CZ1hpYfktaPF 97ldg5Qn90wpIeESJA2sgtL/yWk9+nCvRPSmJWu6Z2aj25z6cje51G7kZn/mx8uOksuN 0TWdFJC5mLOG/beyMihuLao2sYNHN0PaAjw6w=
That was fast. Go Nick!
I'll try this out and let you know how it goes.
On Mar 16, 2010, at 11:55 AM, Kyle Wilcox wrote:
> Nick just committed an update to rack-1.1.0
> "http://github.com/nicksieger/jruby-rack/commit/22c383e50e52e4ac28763751e78dc7a153b38715".
> So that may fix your problem?
>
> If not, vendor Rack 1.0.1, and comment out lines 34 and 35 of
> action_controller.rb
>
> #gem 'rack', '~> 1.0.1'
> #require 'rack'
>
> and add:
>
> load "#{RAILS_ROOT}/vendor/gems/rack-1.0.1/lib/rack.rb"
>
> Does that work?
>
>
> On Tue, Mar 16, 2010 at 10:33 PM, <elskwid@gmail.com> wrote:
>> Hi all,
>>
>> I noticed the examples have been bumped to Rails 2.3.5 but I can't get
>> JRuby-Rack to work with that version of Rails. I'm going to blame this
>> line in action_ctonroller.rb:
>>
>> gem 'rack', '~> 1.0.1'
>>
>> JRuby-Rack is currently using Rack 1.0.0 :
>> http://github.com/nicksieger/jruby-rack/commit/24fe10fb175172a64cb2ca1e
>> 5706e7617ec4a997
>>
>> As background, I am attempting to deploy a Rails 2.3.5 application to
>> Glassfish using Warbler for packaging. When the war is deployed I get
>> the following error in the server.log:
>>
>> Caused by: org.jruby.exceptions.RaiseException: Could not find RubyGem
>> rack (~> 1.0.1)
>>
>> If the current JRuby-Rack can work with Rails 2.3.5 could someone clue
>> me in as to how? If it doesn't then the examples don't reflect the
>> current state of the project correctly. (Assuming that it isn't Rails
>> 2.3.5 compatible what is the plan to get it there? Is there any way
>> that I can help?)
>>
>> Thanks.
>> Don
>>
| elskwid | 03/16/2010 | |
| Kyle Wilcox | 03/16/2010 | |
|
Re: JRuby-Rack and Rails 2.3.5 |
Don Morrison | 03/16/2010 |
| Don Morrison | 03/17/2010 | |
| Nick Sieger | 03/26/2010 |





