Skip to content

Instantly share code, notes, and snippets.

@andreadellacorte
Last active May 29, 2020 22:24
Show Gist options
  • Save andreadellacorte/3488865c0989b40ef00e3e6b6631000a to your computer and use it in GitHub Desktop.
Save andreadellacorte/3488865c0989b40ef00e3e6b6631000a to your computer and use it in GitHub Desktop.
Rails install on ubuntu + zsh
# 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