Permalink
Browse files

Source the rvm setup script in the appropriate places

  • Loading branch information...
jasonmay committed Apr 2, 2012
1 parent 6823977 commit 11b832cee6a6efc41e0cebcc9d1f5d4174286cae
Showing with 4 additions and 1 deletion.
  1. +3 −1 bin/rebuild-vim.sh
  2. +1 −0 zsh/scripts/008-ruby.zsh
View
@@ -1,10 +1,12 @@
+#!/bin/bash
cd ~/repos/mercurial/vim
make distclean
hg pull
hg update -C
-rvm use system >/dev/null 2>&1
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
+rvm system
./configure --without-x --disable-gui --disable-xim --disable-darwin --enable-perlinterp --enable-rubyinterp --enable-multibyte
make
View
@@ -1 +1,2 @@
check_exec 'hub' && eval "$(hub alias -s)"
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

0 comments on commit 11b832c

Please sign in to comment.