Monday, June 14, 2010

[Rails] Re: How do I upgrade rack in my current rails app?

On Jun 14, 10:53 am, Sam Kong <li...@ruby-forum.com> wrote:
> Hi,
>
> I have a rails 2.3.8 app which has rack 1.1.0.
> I get parse_multipart error.
> There's a new release of rack 1.2.0 which might fix the multipart error.
>
> The question is how I upgrade the rack?
> I froze the rails.
> I did "gem update rack" and it upgraded rack to 1.2.0.
> But my rails app still uses rack 1.1.
> How do I set the rails app use rack 1.2.0?

Rails 2.3.x is hardcoded to require rack 1.1.x. You could try changing
that ( in actionpack/lib/action_controller.rb) although no guarantee
that it will work, if 1.2 has breaking api changes compared to 1.1

Fred
>
> Thanks.
>
> Sam
> --
> Posted viahttp://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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate