2024-05-26 18:09:34 -05:00
|
|
|
if ! command -v rbenv &>/dev/null; then
|
|
|
|
DEFAULT_RUBY_VERSION="3.3.1"
|
2024-05-25 15:52:00 -05:00
|
|
|
|
2024-05-26 18:09:34 -05:00
|
|
|
sudo apt install -y rbenv
|
|
|
|
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
|
|
|
|
rbenv install $DEFAULT_RUBY_VERSION
|
|
|
|
rbenv global $DEFAULT_RUBY_VERSION
|
|
|
|
fi
|