Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bitly plays around with with $LOAD_PATH #31

Closed
stouset opened this issue Jan 25, 2013 · 1 comment
Closed

bitly plays around with with $LOAD_PATH #31

stouset opened this issue Jan 25, 2013 · 1 comment

Comments

@stouset
Copy link
Contributor

stouset commented Jan 25, 2013

From bitly.rb:

$:.unshift File.dirname(__FILE__)

You should not be messing with other people's $LOAD_PATH (e.g., $:). This line ends up causing require 'utils', require 'client', require 'url', require 'version', and require 'v3' to all preferentially load the copy from the bitly gem, instead of whatever they should actually point to.

@philnash
Copy link
Owner

philnash commented Apr 3, 2013

Fixed in #32

@philnash philnash closed this as completed Apr 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants