RiotGamesCookbooks / rbenv-cookbook

Installs and configures rbenv
http://community.opscode.com/cookbooks/rbenv
Apache License 2.0
137 stars 109 forks source link

rbenv_ruby: Use ruby_version as name attribute #126

Closed docwhat closed 5 years ago

docwhat commented 9 years ago

The previous way would cause weirdness and sometimes overwrite the ruby_version with the :name.

This should fix this case:

rbenv_ruby 'default ruby' do
  ruby_version '2.1.2'
  global true
end

Which raised an error when it tried to do rbenv install default ruby