Rbenv

From Klenwell Wiki
Revision as of 19:43, 17 April 2021 by Klenwell (talk | contribs) (Created page with "I prefer using [https://github.com/rbenv/rbenv rbenv] to install and manage Ruby versions. When starting a new Rails project, I usually install the latest stable version of Ru...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I prefer using rbenv to install and manage Ruby versions. When starting a new Rails project, I usually install the latest stable version of Ruby:

# Update rbenv list
cd ~/.rbenv/plugins/ruby-build && git pull && cd -

# List available versions
$ rbenv install --list

# Install latest version
$ rbenv install 3.0.1