Permalink
Browse files

Configure vim under rvm system.

  • Loading branch information...
Jonathan Mukai & Peter Jaros
Jonathan Mukai & Peter Jaros committed Oct 26, 2011
1 parent 4fa1813 commit c5ff7f5bea5c2801fe8ab02a1688e525bd6d57a4
Showing with 10 additions and 11 deletions.
  1. +10 −11 vim.rb
View
21 vim.rb
@@ -13,17 +13,16 @@ def install
# Debugging symbols
ENV["CFLAGS"] = "-g"
- system "./configure", "--prefix=#{prefix}",
- "--mandir=#{man}",
- "--enable-gui=no",
- "--without-x",
- "--disable-nls",
- "--enable-multibyte",
- "--with-tlib=ncurses",
- "--enable-pythoninterp",
- "--enable-rubyinterp",
- "--with-ruby-command=/usr/bin/ruby",
- "--with-features=huge"
+ system "rvm", "system", "exec", "./configure", "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--enable-gui=no",
+ "--without-x",
+ "--disable-nls",
+ "--enable-multibyte",
+ "--with-tlib=ncurses",
+ "--enable-pythoninterp",
+ "--enable-rubyinterp",
+ "--with-features=huge"
system "make"
system "make install"
end

0 comments on commit c5ff7f5

Please sign in to comment.