Bypassing rack version error using Rails 2.3.5

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2009-11-29T06:49:46Z Indexed on 2010/03/22 15:31 UTC
Read the original article Hit count: 448

Filed under:
|
|
|

I'm currently on Dreamhost attempting to run a Rails 2.3.5 app.

Here is the situation, Dreamhost's servers have Rails 2.2.2 installed. Of course, I can't update a shared host's rails version, so I froze my Rails in vendor. Rails 2.3.5 requires the rack v1.0.1 gem. Dreamhost uses the rack v1.0.0 gem. So when I try to define:

config.gem "rack", :version => "1.0.1"

I get:

can't activate rack (~> 1.0.1, runtime) for [], already activated rack-1.0.0 for []

So what I really need to do is bypass my app's request to use 1.0.1, and use Dreamhost's 1.0.0. Does anyone know how to configure this? Is it even possible? Thanks for the help.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about rack