From e77c6cd77aba6231a4b1d94cf402697c7a01d494 Mon Sep 17 00:00:00 2001 From: Michel Belleville <michel.belleville@gmail.com> Date: Tue, 5 May 2015 19:12:41 +0200 Subject: [PATCH] FIxing a problem caused by the strange "command command -v rbenv" command --- plugins/rbenv/rbenv.load | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/rbenv/rbenv.load b/plugins/rbenv/rbenv.load index 0fca4e4..69b4dfe 100644 --- a/plugins/rbenv/rbenv.load +++ b/plugins/rbenv/rbenv.load @@ -6,11 +6,11 @@ if [ -e "$RBENV_BIN_ROOT/rbenv" ] set rbenv_binary "$RBENV_BIN_ROOT/rbenv" _prepend_path "$RBENV_BIN_ROOT" -else if [ (command command -v rbenv) ] - set rbenv_binary (command command -v rbenv) else if [ -e "$HOME/.rbenv/bin/rbenv" ] set rbenv_binary "$HOME/.rbenv/bin/rbenv" _prepend_path "$HOME/.rbenv/bin" +else if [ (command command -v rbenv) ] + set rbenv_binary (command command -v rbenv) else echo "Could not find rbenv. Make sure it's on your system path, in your home directory or set the RBENV_BIN_ROOT environment variable pointing to the directory where you unpacked rbenv." exit 1 -- GitLab