Using a newer Rails version than installed on server?

Hi all,

I’ve been developing with Rails 2.3.5, but my web hosting provider only
has 2.1.2 installed on the server. Is it possible to ‘freeze’ a newer
version of Rails in the vendor directory?

I tried a pass at it, but I get the ol’ ‘Rails application failed to
start properly’ error when I unpack 2.3.5 in the vendor/rails directory.

Any help?

Thanks - Dave

I’m not sure if that’s possible, but going from 2.3 to 2.1 you’re going
to get some errors. Mainly application.rb name change and some AR.

Better to move to a different host that offers Rails 2.3.5 or a vps that
lets you install the rails version you want.

A shameless plug, I wrote a script that makes Rails deployments a
breeze. http://ezror.com

If you’re interested I can get you suited with some free licenses and
point you toward some good,cheap web hosts. I don’t get referral fee or
anything, just good karma I figured. And I use them personally.

-sunny

Dave Triglianos wrote:

Hi all,

I’ve been developing with Rails 2.3.5, but my web hosting provider only
has 2.1.2 installed on the server. Is it possible to ‘freeze’ a newer
version of Rails in the vendor directory?

I tried a pass at it, but I get the ol’ ‘Rails application failed to
start properly’ error when I unpack 2.3.5 in the vendor/rails directory.

Any help?

Thanks - Dave

I would advise to find a server which supports your version of rails.
The deprecated server version will create problems in future.