Skip to content

Instantly share code, notes, and snippets.

@oiojin831
Last active September 20, 2015 23:54
Show Gist options
  • Save oiojin831/21ffcb011f610440abaf to your computer and use it in GitHub Desktop.
Save oiojin831/21ffcb011f610440abaf to your computer and use it in GitHub Desktop.

#zsh

sudo apt-get update
sudo apt-get install zsh
chsh -s /bin/zsh oiojin831
echo $SHELL

#git

sudo apt-get install git

#rcm

sudo add-apt-repository ppa:martin-frost/thoughtbot-rcm
sudo apt-get update
sudo apt-get install rcm

#thoughtbot/dotfiles

mkdir thoughtbot
cd thoghtbot
git clone git://github.com/thoughtbot/dotfiles.git
vim dotfiles/rcrc
change second directory to thoughtbot/.....
cd
env RCRC=$HOME/thoughtbot/dotfiles/rcrc rcup

#oh-my-zsh

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc.tmp
필요한 부분 ~/.zshrc.local에 복사하기

#ruby ##rbenv

git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc.local
echo 'eval "$(rbenv init -)"' >> ~/.zshrc.local
"restrat
ruby-build
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
sudo apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev

rbenv install 2.2.0
rbenv global 2.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment