mikamai / akamai_api

Akamai gem+CLI to work with CCU and ECCU interfaces
MIT License
43 stars 19 forks source link

Can't use with github link in Gemfile #14

Closed dfuentes77 closed 10 years ago

dfuentes77 commented 10 years ago

I'm trying to pull it from github and bundle install runs and completes fine but I get this error

$ grep akamai Gemfile gem 'akamai_api', git: 'https://github.com/nicolaracco/akamai_api.git'

The akamai_api command gets created:

$ which akamai_api /Users/dfuentes/.rvm/gems/ruby-2.0.0-p247@livenation-platform/bin/akamai_api

But I get this error when running it:

$ akamai_api -h /Users/dfuentes/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rubygems/dependency.rb:296:in to_specs': Could not find 'akamai_api' (>= 0) among 200 total gem(s) (Gem::LoadError) from /Users/dfuentes/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rubygems/dependency.rb:307:into_spec' from /Users/dfuentes/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in gem' from /Users/dfuentes/.rvm/gems/ruby-2.0.0-p247@livenation-platform/bin/akamai_api:22:in

'

I'm actually trying to do this with a fork that I have with my changes in it, but I duplicated the issue with your copy as well.

Any idea why this is happening?

dfuentes77 commented 10 years ago

n/m on this. I should have remembered to do bundle exec. In either case, please let me know if my Pull Request looks good and if so, when you can merge it and upload it to rubygems. Thanks.

nicolaracco commented 10 years ago

Done, released as 0.0.6. Thank you :)