Last active
December 28, 2015 16:59
-
-
Save joshrickard/7533102 to your computer and use it in GitHub Desktop.
Setup ruby environment on Ubuntu 14.04.1 desktop.
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
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get -y install build-essential curl git-core redis-server | |
# setup git | |
git config --global user.name "Josh Rickard" | |
git config --global user.email [email protected] | |
# install RVM | |
curl -L https://get.rvm.io | bash | |
source ~/.rvm/scripts/rvm | |
# setup ruby | |
rvm install 2.1 | |
rvm use 2.1 --default | |
ruby -v | |
# setup gems | |
gem update | |
gem install rails | |
gem clean | |
# | |
# https://rvm.io/integration/gnome-terminal | |
# | |
# ssh keys | |
ssh-keygen -f ~/.ssh/id_rsa -t rsa -C "[email protected]" -N '' | |
ssh-add ~/.ssh/id_rsa | |
echo Paste this key into Github: | |
cat ~/.ssh/id_rsa.pub | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment