Skip to content

Instantly share code, notes, and snippets.

@bswinnerton
Created March 11, 2015 17:43
Show Gist options
  • Save bswinnerton/1f4bfde339b5ea024dc7 to your computer and use it in GitHub Desktop.
Save bswinnerton/1f4bfde339b5ea024dc7 to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get upgrade
exit
sudo apt-get install build-essential git-core curl vim
curl -sSL https://get.rvm.io | bash -s stable --ruby
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
sudo apt-get install zsh
rm -rf ~/.oh-my-zsh/
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
chsh `which zsh`
exit
chsh `which zsh`
which zsh
/usr/bin/zsh
chsh `which zsh` vagrant
chsh -s `which zsh` vagrant
exit
exit
curl -o ~/.oh-my-zsh/custom/bewd.zsh-theme https://raw.githubusercontent.com/bswinnerton/dotfiles/master/oh-my-zsh/custom/bswinnerton.zsh-theme
sed -ie "s/ZSH_THEME=\"robbyrussell\"/ZSH_THEME=\"bewd\"/g" ~/.zshrc
exit
curl -sSL https://get.rvm.io | bash -s stable --ruby
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable --ruby
source /home/vagrant/.rvm/scripts/rvm
which ruby
ruby -v
which gem
gem install rails --no-ri --no-rdoc
rails -v
exit
ruby -v
rails -v
mkdir Sites
ls -l Sites
cd Sites
rails new testapp
cd testapp
rails s
exit
cd ~/Sites
cd te
ls -l
cd ../
ls -l
cd ~/Sites
rails new testapp
cd testapp
ls -l
exit
cd ~/Sites/testapp
rails s
cd ../
rm -rf testapp
exit
ruby -v
rails -v
less .bash_history
less .zsh_history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment