rbenv on linux

This commit is contained in:
Andrew Tomaka 2013-08-29 18:36:28 -04:00
parent 2a3d27826e
commit 4ff9d29a6b
2 changed files with 16 additions and 1 deletions

4
.zshrc
View file

@ -10,6 +10,8 @@ ZSH_THEME="gnzh"
if [[ "$OSTYPE" == darwin* ]]; then
PATH="/opt/boxen/homebrew/opt/coreutils/libexec/gnubin:$PATH"
MANPATH="/opt/boxen/homebrew/apt/coreutils/libexec/gnubin:$MANPATH"
else
export PATH="$HOME/.rvenv/bin:$PATH"
fi
# List directory when changing (github/r00k)
@ -85,4 +87,6 @@ export EDITOR='vim'
if [[ "$OSTYPE" == darwin* ]]; then
source /opt/boxen/env.sh
else
eval "$(rbenv init -)"
fi

View file

@ -3,9 +3,14 @@ sudo apt-get install tmux zsh zclip
chsh -s /bin/zsh
```
LOGOUT COMPLETELY and relogin
Install rbenv
```
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
```
```
exec $SHELL -1
git clone repo
mv dotfiles/\* .
git submodule update --init
@ -14,6 +19,12 @@ source .zshrc
```:BundleInstall``` inside of vim
```
exec $SHELL -1
rbenv install 1.9.3-p327
rbenv rehash
```
Remote Server:
edit /etc/ssh/sshd_config