Created
January 12, 2024 05:47
-
-
Save nanosplit/deb5c73f9e12bbfe45f9e5eb82832e9c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev | |
cd | |
git clone https://github.com/excid3/asdf.git ~/.asdf | |
echo '. "$HOME/.asdf/asdf.sh"' >> ~/.bashrc | |
echo '. "$HOME/.asdf/completions/asdf.bash"' >> ~/.bashrc | |
echo 'legacy_version_file = yes' >> ~/.asdfrc | |
echo 'export EDITOR="code --wait"' >> ~/.bashrc | |
exec $SHELL | |
asdf plugin add ruby | |
asdf plugin add nodejs | |
asdf install ruby 3.3.0 | |
asdf global ruby 3.3.0 | |
# Update to the latest Rubygems version | |
gem update --system | |
asdf install nodejs 20.10.0 | |
asdf global nodejs 20.10.0 | |
which node | |
#=> /home/username/.asdf/shims/node | |
node -v | |
#=> 20.10.0 | |
# Install yarn for Rails jsbundling/cssbundling or webpacker | |
npm install -g yarn | |
git config --global color.ui true | |
git config --global user.name "YOUR NAME" | |
git config --global user.email "[email protected]" | |
gem install rails -v 7.1.2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment