pivotal / workstation-setup

Scripts to automatically set up a machine for development the "Tanzu Labs" way
https://github.com/pivotal/workstation-setup
MIT License
325 stars 240 forks source link

Install latest version of ruby #255

Closed professor closed 5 years ago

professor commented 5 years ago

I noticed that we are installing ruby 2.3.x by default.

Instead, we could install the latest ruby with rbenv install $(rbenv install -l | grep -v - | tail -1)

This would mean that a fresh machine would be installed with the latest version of ruby.

One potential downside is that two machines might have different versions of ruby if they were imaged at different times. I see this the responsibility of the team's code/project to enforce a version of ruby for a project.