Difference between revisions of "Rbenv"

From Klenwell Wiki
Jump to navigation Jump to search
(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...")
 
(No difference)

Latest revision as of 20:43, 17 April 2021

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