nashby / xxhash

Ruby wrapper for xxHash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

issue with static path compiled into bundle

pbrumm opened this issue · comments

I get the following trying to load your library.
this doesn't occur on older 0.0.1 version

2.0.0p195 :001 > require 'xxhash'
LoadError: dlopen(/Users/pbrumm/.rvm/gems/ruby-2.0.0-p195/gems/xxhash-0.1.0/lib/xxhash/xxhash.bundle, 9):     Library not loaded: /Users/nash/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.1.9.1.dylib
Referenced from: /Users/pbrumm/.rvm/gems/ruby-2.0.0-p195/gems/xxhash-0.1.0/lib/xxhash/xxhash.bundle
Reason: image not found - /Users/pbrumm/.rvm/gems/ruby-2.0.0-p195/gems/xxhash-0.1.0/lib/xxhash/xxhash.bundle
from /Users/pbrumm/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/pbrumm/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/pbrumm/.rvm/gems/ruby-2.0.0-p195/gems/xxhash-0.1.0/lib/xxhash.rb:2:in `<top (required)>'
from /Users/pbrumm/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:110:in `require'
from /Users/pbrumm/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:110:in `rescue in require'
from /Users/pbrumm/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:35:in `require'
from (irb):1
from /Users/pbrumm/.rvm/rubies/ruby-2.0.0-p195/bin/irb:16:in `<main>'

your username is in the load path

/Users/nash/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.1.9.1.dylib

@pbrumm sorry, my bad! I accidentally pushed gem with my .bundle file. :(

I've just pushed 0.1.1 version. Could you please try it?

works great. thanks for the quick turnaround.

and for making this gem.

@pbrumm nice! Thank you for reporting back! ❤️