sunhat/install/ruby.sh

7 lines
212 B
Bash
Raw Normal View History

2024-05-25 15:52:00 -05:00
DEFAULT_RUBY_VERSION="3.3.1"
sudo apt install -y rbenv
2024-05-25 15:52:00 -05:00
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
rbenv install $DEFAULT_RUBY_VERSION
rbenv global $DEFAULT_RUBY_VERSION