lcreid / rails-5-jade

Rails 5 with Jekyll and Node on Ubuntu 18.04
MIT License
29 stars 3 forks source link

Use rbenv #20

Closed lcreid closed 7 years ago

lcreid commented 7 years ago

For people who are deploying to shared servers, they still need to version their Ruby. So this box should come with rbenv and the latest Ruby, but allow users to install previous Rubies.

This brings up a few questions:

We're going with rbenv rather than rvm because rbenv is less intrusive, and Bundler provides what rvm provides that rbenv doesn't.

lcreid commented 7 years ago

rbenv is now included. I really should test to see what it does to using the box as before, i.e. without rbenv.

lcreid commented 7 years ago

I should note that this is also needed for supporting legacy apps: they may need older versions of Ruby, and using either rbenv or rvm is the best way to deal with different Ruby versions.

lcreid commented 7 years ago

It also seems okay to use it the "old" way, without .rbenv.