Run Rails 3 app on a Rails 2 server/machine?
Posted
by
chucknelson
on Server Fault
See other posts from Server Fault
or by chucknelson
Published on 2011-11-30T13:18:59Z
Indexed on
2011/11/30
17:58 UTC
Read the original article
Hit count: 387
I'm trying to run a Rail 3 (3.0.10) app on a shared joyent smartmachine server (I don't have root access) which has Rails 2 (2.3.11) installed , and I'm not sure what to do after I freeze my Rails 3 app with bundle install --deployment
.
It seems like with the Rails 3 and bundler gems not being installed on the server locally, my app isn't even recognizing the local version of Rails I have frozen with my app.
Has anyone gotten this to work, or have any advice? The server runs Apache, and I think I can get lighttpd installed too - but I'd rather stay with Apache if I can. Also, if it matters, Passenger is not an installed gem either...and I'm not sure I can freeze that with my app.
Update 11/30/2011 12:30 PM EST
Bundler is not installed on this server, either. Not sure if having that would enable the new Rails 3 "freeze" (bundle --deployment) to work or not...
© Server Fault or respective owner