From 2de4142298616be647f21fda36e32580dbb3b19f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 25 May 2024 20:07:29 -0700 Subject: [PATCH] Move rbenv to ruby install and ab to cli apps --- install.sh | 5 ++--- install/ruby.sh | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 08dd791..ac6bd45 100644 --- a/install.sh +++ b/install.sh @@ -5,11 +5,10 @@ sudo apt install -y \ 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 \ libvips imagemagick libmagickwand-dev mupdf mupdf-tools \ - redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \ - rbenv apache2-utils + redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev # 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 # GUI apps diff --git a/install/ruby.sh b/install/ruby.sh index 3bdb2b3..25f5b2b 100644 --- a/install/ruby.sh +++ b/install/ruby.sh @@ -1,5 +1,6 @@ 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 rbenv install $DEFAULT_RUBY_VERSION rbenv global $DEFAULT_RUBY_VERSION