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?
You can now explicitly specify a Ruby version on Heroku.
Simply setup your Gemfile as so
Gemfile
# Gemfile source "https://rubygems.org" ruby "1.9.3" # Gems go here