Rbenv

From Klenwell Wiki
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