views:

50

answers:

1

I use Ruby 1.9.x syntax in my Rails 3 app, but after pushing it to Heroku it crashes due to older Ruby version (1.8). How can I control it?

+5  A: 

Heroku has a 1.9.1 stack; the upgrade to 1.9.2 is hopefully coming soon. You can switch to the 1.9.1 stack by running:

$ heroku stack:migrate bamboo-mri-1.9.1

Full details are at http://docs.heroku.com/stack

wuputah