Move rbenv to ruby install and ab to cli apps

This commit is contained in:
David Heinemeier Hansson 2024-05-25 20:07:29 -07:00
parent b19df9667b
commit 2de4142298
2 changed files with 3 additions and 3 deletions

View File

@ -5,11 +5,10 @@ sudo apt install -y \
build-essential pkg-config autoconf bison rustc cargo clang \ build-essential pkg-config autoconf bison rustc cargo clang \
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \ libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \ libvips imagemagick libmagickwand-dev mupdf mupdf-tools \
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \ redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev
rbenv apache2-utils
# CLI apps # CLI apps
sudo apt install -y git curl fzf ripgrep bat eza zoxide btop sudo apt install -y git curl fzf ripgrep bat eza zoxide btop apache2-utils
sudo snap install code zellij --classic sudo snap install code zellij --classic
# GUI apps # GUI apps

View File

@ -1,5 +1,6 @@
DEFAULT_RUBY_VERSION="3.3.1" DEFAULT_RUBY_VERSION="3.3.1"
sudo apt install -y rbenv
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
rbenv install $DEFAULT_RUBY_VERSION rbenv install $DEFAULT_RUBY_VERSION
rbenv global $DEFAULT_RUBY_VERSION rbenv global $DEFAULT_RUBY_VERSION