Last active
May 29, 2020 22:24
-
-
Save andreadellacorte/3488865c0989b40ef00e3e6b6631000a to your computer and use it in GitHub Desktop.
Rails install on ubuntu + zsh
This file contains 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
# Instructions https://cloud.google.com/ruby/rails/appengine | |
sudo apt-get remove ruby | |
sudo apt-get install build-essential | |
sudo apt-get install -y libssl-dev libreadline-dev zlib1g-dev | |
git clone https://github.com/rbenv/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc | |
source ~/.zshrc | |
rbenv init | |
echo 'eval "$(rbenv init -)"' >> ~/.zshrc | |
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build | |
rbenv install 2.5.5 | |
rails webpacker:install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment