Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

require 'hashery' issues #5

Closed
goldmann opened this Issue · 5 comments

3 participants

@goldmann

It looks like there is a problem with latest (1.3.0) gem where you specify: "require 'hashery'". Shouldn't this gem require facets gem as runtime dependency?

$ irb
irb(main):001:0> require "rubygems"
ge=> true
irb(main):002:0> gem "hashery"
=> true
irb(main):003:0> require "hashery"
LoadError: no such file to load -- facets/basicobject
 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
 from /usr/lib/ruby/gems/1.8/gems/hashery-1.3.0/lib/hashery/openobject.rb:1
 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
 from /usr/lib/ruby/gems/1.8/gems/hashery-1.3.0/lib/hashery.rb:7
 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
 from (irb):3
@trans
Owner

Actually this should be a conditional requirement b/c it is not necessary if Ruby 1.9 is being used. So I won't make it a gem requirement, but I will make a note of it in the README that it is needed for 1.8.7 or lower --I'll add it to the error message too.

I have a couple of other minor commits in the works too, so I'll get a new minor release out soon that corrects this.

Thanks for reporting!

@DEfusion

I'd love to use hashery but this bug stops me from using it, even requiring facets beforehand causes issues (a bug in facets) so I'm a little stuck.

@trans
Owner

Thanks for the reminder! I'll have a fix out today. Sorry for the delay --busy busy bee et al.

@trans
Owner

Just released 1.4. This issue should be resolved now. Please let me know if you discover any new issues. Thanks.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.