Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shared hosts do not yet support Rails on Ruby 1.9.2

Could someone offer some advice please.

I have a first revision of an application that I developed under rails 3.1 and ruby 1.9.2. It wasn't until I came to deploying the application that I discovered my shared host does not support ruby 1.9.2 (most shared hosting seems to be the same). I tried to deploy my rails 3.1 application anyway, but have encountered many problems, often to do with the deprecated => syntax.

I am now trying to figure out what to do, and am thinking of recreating my application under an earlier version of rails.

What are my options? What version of rails should I downgrade to, to avoid the problems I have been having?

thanks.

like image 245
pingu Avatar asked Jan 27 '26 13:01

pingu


2 Answers

I would use RVM to install your own Ruby 1.9.2. See https://rvm.io/rvm/install/.

like image 149
jschorr Avatar answered Jan 30 '26 03:01

jschorr


You could give heroku a try. They have a free tier and I believe the Cedar stack supports rails 3.1

like image 33
Msencenb Avatar answered Jan 30 '26 04:01

Msencenb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!