You must be logged in to do that (read scm)

Re: JRuby-Rack and Rails 2.3.5

  • From: Kyle Wilcox <wilcox.kyle@gmail.com>
  • To: issues@jruby-rack.kenai.com
  • Subject: Re: JRuby-Rack and Rails 2.3.5
  • Date: Tue, 16 Mar 2010 22:55:35 +0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Z0QCQmQzz/+0+3fbTM7GzKxRR+9l9k8O9b0EX5HCprX92ELit72msw0aCeYa5Q3epn gk5tPQBLaVxfOwqY4yQT2yFwEmbnJhkdXiXqac1Sio8eJlhH6lfAKG1PBP3PocxBDq4Y ySWzRuWhwFg42qVMCAh+LELUVbly3UPsQjgyE=

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
>


JRuby-Rack and Rails 2.3.5

elskwid 03/16/2010

Re: JRuby-Rack and Rails 2.3.5

Kyle Wilcox 03/16/2010

Re: JRuby-Rack and Rails 2.3.5

Don Morrison 03/16/2010

Re: JRuby-Rack and Rails 2.3.5

Don Morrison 03/17/2010

Re: JRuby-Rack and Rails 2.3.5

Nick Sieger 03/26/2010
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close