Skip to content

Instantly share code, notes, and snippets.

@topfunky
Created May 11, 2009 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save topfunky/110189 to your computer and use it in GitHub Desktop.
Save topfunky/110189 to your computer and use it in GitHub Desktop.
if (Dir.exist?(NSBundle.mainBundle.privateFrameworksPath))
$:.map! { |x| x.sub(/^\/Library\/Frameworks/, NSBundle.mainBundle.privateFrameworksPath) }
$:.unshift NSBundle.mainBundle.resourcePath.fileSystemRepresentation
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment