You can learn about this by using the stack in this project.
heroku stack
If this is not a cedar stack, you may have ruby version information used on heroku
Output example
$ heroku stack aspen-mri-1.8.6 * bamboo-mri-1.9.2 bamboo-ree-1.8.7 cedar (beta)
* represents the use of the stack in this project and determines the version.
aspen-mri-1.8.6 => MRI 1.8.6 bamboo-mri-1.9.2 => MRI 1.9.2 bamboo-ree-1.8.7 => REE 1.8.7
In the case of a cedar stack. The default ruby version is 1.9.2 MRI. If it changes to ruby 1.9.3, this trick is determined by the configuration. You can get information
heroku config
You can have RUBY_VERSION => ruby-1.9.3-p0
define if ruby 1.9.3-p0 is used.
source share