Using ruby 1.9.3 with heroku cedar stack
Posted: 2012-01-16
Updated: 2012-01-16
To use ruby 1.9.3 with heroku's cedar stack, do the following:
- Prepare a new application
- Enable the user env lab feature with:
heroku labs:enable user_env_compile -a <appname> - Set the
RUBY_VERSIONvariable with:heroku config:add RUBY_VERSION=ruby-1.9.3-p0 - Set the
PATHvarible with:heroku config:add PATH=bin:vendor/bundle/ruby/1.9.1/bin:/usr/local/bin:/usr/bin:/bin - Re-deploy your app with git