From 373bac66db44ad61a9b1d7bb24c7cc4ad6e349b1 Mon Sep 17 00:00:00 2001 From: Carlos Aldana Date: Thu, 7 Nov 2024 16:33:39 -0800 Subject: [PATCH] updates ubuntu dev for brew install (not working before) --- dev/ubuntu/dev.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev/ubuntu/dev.sh b/dev/ubuntu/dev.sh index 0fcd09e..3f24446 100644 --- a/dev/ubuntu/dev.sh +++ b/dev/ubuntu/dev.sh @@ -9,10 +9,13 @@ cp ../tmux.conf ~/.tmux.conf ######################################## Homebrew and ASDF /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >>~/.bashrc +source ~/.bashrc +sudo apt-get install build-essential + brew install asdf echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >>~/.bashrc echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >>~/.bashrc -source ~/.bashrc asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git