From 0bd32ca8d223e96a70b0433146ddca9c4e222a0f Mon Sep 17 00:00:00 2001 From: Livien Yin Date: Sun, 11 Jan 2015 14:40:45 -0800 Subject: [PATCH] Rbenv stuff. Conflicts: dotfiles/cider/bootstrap.json dotfiles/lib/shellenv.sh --- dotfiles/cider/bootstrap.json | 2 ++ dotfiles/lib/shellenv.sh | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/dotfiles/cider/bootstrap.json b/dotfiles/cider/bootstrap.json index aa146012..0791210a 100644 --- a/dotfiles/cider/bootstrap.json +++ b/dotfiles/cider/bootstrap.json @@ -119,6 +119,8 @@ "rbenv", "readline", "reattach-to-user-namespace", + "rsync", + "ruby-build", "sbt", "scala", "sdl", diff --git a/dotfiles/lib/shellenv.sh b/dotfiles/lib/shellenv.sh index 71b3ddc9..f2ac7365 100644 --- a/dotfiles/lib/shellenv.sh +++ b/dotfiles/lib/shellenv.sh @@ -44,3 +44,8 @@ function with_shellrc { # Travis completion [ -f "$HOME/.travis/travis.sh" ] && source "$HOME/.travis/travis.sh" + +export RBENV_ROOT=/usr/local/var/rbenv + +export PATH="$HOME/.rbenv/bin:$PATH" +eval "$(rbenv init -)"