Permalink
Browse files

Merge pull request #298 from cmatthias/master

Add support for rbenv to command_t install
  • Loading branch information...
2 parents e306eba + 1489802 commit e9aa4936b2f55c37b09db775b9b84318045ea024 @kalbasit kalbasit committed Nov 24, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 Rakefile
View
@@ -170,6 +170,8 @@ vim_plugin_task "command_t", "http://s3.wincent.com/command-t/releases/co
sh "/usr/bin/ruby extconf.rb"
elsif `rvm > /dev/null 2>&1` && $?.exitstatus == 0
sh "rvm system ruby extconf.rb"
+ elsif `rbenv > /dev/null 2>&1` && $?.exitstatus == 0
+ sh "RBENV_VERSION=system ruby extconf.rb"
end
sh "make clean && make"
end

0 comments on commit e9aa493

Please sign in to comment.