Forum: Rails deployment Using a newer Rails version than installed on server?

Posted by Dave Triglianos (davetrig)
on 2010-08-11 23:31
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
Posted by Senthil Nambi (senthilnambi)
on 2010-09-26 23:29
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
Posted by Andola Soft (andolasoft)
on 2010-10-12 15:03
I would advise to find a server which supports your version of rails. 
The deprecated server version will create problems in future.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.