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

Simplified requires #1

Merged
merged 2 commits into from
Jun 7, 2013
Merged

Conversation

gavinheavyside
Copy link
Contributor

simplify the require structure so it doesn't conflict with rbenv installed via homebrew, and its symlinks.

Gavin Heavyside added 2 commits June 6, 2013 16:58
rbenv installed via homebrew uses a symlink in the path, so I was seeing a
conflict between require & require relative, causing a warning:

[1] pry(main)> require 'magritte'
/usr/local/var/lib/rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/magritte-0.5.6/lib/magritte/iostreams.rb:7: warning: already initialized constant Magritte::BlockStream::READ_BLOCK_SIZE
/usr/local/opt/rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/magritte-0.5.6/lib/magritte/iostreams.rb:7: warning: previous definition of READ_BLOCK_SIZE was here
=> true
relistan added a commit that referenced this pull request Jun 7, 2013
@relistan relistan merged commit c86efa0 into relistan:master Jun 7, 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

Successfully merging this pull request may close these issues.

None yet

2 participants