hanklords/flickraw

no such file to load -- flickraw/oauth

Closed this issue · 2 comments

Since updating to the new version, I get this error when requiring flickraw in any script. See output here when trying to run example scripts.

mroth-imac ~:$ gem install flickraw
Fetching: flickraw-0.9.1.gem (100%)
Successfully installed flickraw-0.9.1
1 gem installed

mroth-imac ~:$ ruby examples/interestingness.rb 
/Users/mroth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- flickraw/oauth (LoadError)
    from /Users/mroth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /Users/mroth/.rvm/gems/ruby-1.9.2-p290/gems/flickraw-0.9.1/lib/flickraw.rb:2:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:33:in `require'
    from <internal:lib/rubygems/custom_require>:33:in `rescue in require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from examples/interestingness.rb:1:in `<main>'

mroth-imac ~:$ ruby examples/auth.rb 
/Users/mroth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- flickraw/oauth (LoadError)
    from /Users/mroth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /Users/mroth/.rvm/gems/ruby-1.9.2-p290/gems/flickraw-0.9.1/lib/flickraw.rb:2:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:33:in `require'
    from <internal:lib/rubygems/custom_require>:33:in `rescue in require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from examples/auth.rb:1:in `<main>'

I checked the gem and there are missing files. I am going to update the gem.

Thanks for the report.

Thanks, that seemed to fix it for me, it loads now.

I am now experiencing an unrelated error with the example code, but I'll open a new issue for that.