Skip to content

Instantly share code, notes, and snippets.

@mrkn
Created February 21, 2011 02:53
Show Gist options
  • Save mrkn/836608 to your computer and use it in GitHub Desktop.
Save mrkn/836608 to your computer and use it in GitHub Desktop.
if has('gui_macvim') && has('kaoriya')
let s:ruby_libdir = system("ruby -rrbconfig -e 'print Config::CONFIG[\"libdir\"]'")
let s:ruby_libruby = s:ruby_libdir . '/libruby.dylib'
if filereadable(s:ruby_libruby)
let $RUBY_DLL = s:ruby_libruby
endif
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment