Skip to content

Instantly share code, notes, and snippets.

@codepedia
Last active November 29, 2016 15:10
Show Gist options
  • Save codepedia/30996f7f1b59c7bab09b to your computer and use it in GitHub Desktop.
Save codepedia/30996f7f1b59c7bab09b to your computer and use it in GitHub Desktop.
# if you want to install gems locally , without having to use sudo
uhc:blazer-dev zatef$ bundle install --path vendor/bundle
# when push rails app to a brand new ubuntu machine, I came across multiple bugs and had to fix them with the below:
# even though we have 2.3, we still need the dev version.
sudo apt-get install ruby2.3-dev
sudo apt-get install build-essential
sudo apt install ruby-railties
sudo apt-get install libsqlite3-dev
sudo apt-get install zlib1g-dev # this one of the lib needed for parsing ruby.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment