Created
September 21, 2011 20:17
-
-
Save kabturek/1233162 to your computer and use it in GitHub Desktop.
Getting vim/gvim to work with other ruby versions than the one that is compiled with. (when using it with vim from ubuntu repos - compiled againt ruby1.8 with rvm using 1.9.2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gvim() | |
{ | |
(unset GEM_PATH GEM_HOME; command gvim "$@") | |
} | |
vim() | |
{ | |
(unset GEM_PATH GEM_HOME; command vim "$@") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment