Skip to content

Instantly share code, notes, and snippets.

@wilson
Created November 4, 2010 15:50
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 wilson/662676 to your computer and use it in GitHub Desktop.
Save wilson/662676 to your computer and use it in GitHub Desktop.
if Bundler.requires_sudo?
Bundler.user_bundle_path.join(Bundler.ruby_scope).join(git_scope)
else
Bundler.install_path.join(git_scope)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment