Skip to content

Instantly share code, notes, and snippets.

@oppara
Forked from mrkn/gist:836608
Created February 21, 2011 16:26
Show Gist options
  • Save oppara/837295 to your computer and use it in GitHub Desktop.
Save oppara/837295 to your computer and use it in GitHub Desktop.
macvim ruby conf
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