I need to specific the ruby version in my gemfile but my app in heroku is using the old bundler version 1.0.7.
If I include gem 'bundler', '1.3.2'
in my gemfile it failed when I push to heroku.
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
bundler (= 1.3.2)
Current Bundler version:
bundler (1.0.7)
Your version of Bundler is older than the one requested by the Gemfile.
Perhaps you need to update Bundler by running `gem install bundler`.
I also try running heroku run "gem install bundler"
and it return permission error.
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/ruby1.9.2/lib/ruby/gems/1.9.1
directory.
How can i set the Bundler version to 1.3.2 in heroku so that I can specific ruby version?