Skip to content

Instantly share code, notes, and snippets.

@kabturek
Created September 21, 2011 20:17
Show Gist options
  • Save kabturek/1233162 to your computer and use it in GitHub Desktop.
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)
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