I have an RoR app built previously with Ruby 1.9.3 and rails 3.0.1. I have deployed to Heroku previously with this setup. If I would like to use Ruby 2.1.2 on my new computer, when accessing the app code and trying to deploy again on Heroku will my app encounter problems because of the different Ruby versions?
Asked
Active
Viewed 16 times
1 Answers
0
According to this compatibility matrix, you will need a Ruby version 2.x.
Rails Version Possible Ruby Versions Recommended Ruby Version
1.0–2.1 1.8.6 1.8.6
2.2 1.8.6 or 1.8.7 1.8.7
2.3 1.8.6, 1.8.7, or 1.9.1 1.8.7
3.0–3.2 1.8.7, 1.9.2, or 1.9.3 1.9.3
4.0–… 1.9.3, 2.0.x 2.0.x

Robert Harvey
- 178,213
- 47
- 333
- 501
-
hi, thank you for the compatibility matrix, do you mean rails 4x for using ruby 2.0.x? – trying_hal9000 May 20 '14 at 05:17
-
Yes. [This page](http://guides.rubyonrails.org/getting_started.html) also states you need Rails 4.x with Ruby 2.x – Robert Harvey May 20 '14 at 05:20