From a400638f783f169106ced4acb60f9c84798b0a30 Mon Sep 17 00:00:00 2001 From: Wim Griffioen Date: Mon, 12 Sep 2011 16:34:11 +0200 Subject: [PATCH] Added alias 'be' to the rvm plugin While using RVM and Rails 3.1, I found out that rake won't work from your root directory of your app because Rails uses bundle. I found a blogpost that contained a workaround for it (http://house9.blogspot.com/2011/06/rails-31-and-ruby-192-p180-rake-aborted.html) and decided to move it into the oh-my-zsh rvm plugin. --- plugins/rvm/rvm.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/rvm/rvm.plugin.zsh b/plugins/rvm/rvm.plugin.zsh index 24621fe0b..b9101462a 100644 --- a/plugins/rvm/rvm.plugin.zsh +++ b/plugins/rvm/rvm.plugin.zsh @@ -1,5 +1,6 @@ alias rubies='rvm list rubies' alias gemsets='rvm gemset list' +alias be='bundel exec' local ruby18='ruby-1.8.7-p334' local ruby19='ruby-1.9.2-p180'