pelle / oauth-plugin

Rails plugin for OAuth
http://stakeventures.com/articles/2009/07/21/consuming-oauth-intelligently-in-rails
MIT License
716 stars 216 forks source link

Ruby 1.9.2, Rails 3.0.7: Cannot install oauth-plugin #64

Closed dalizard closed 5 years ago

dalizard commented 13 years ago

Hello, I'm trying to install the auth-plugin by following the instructions, but I get the following error after adding

gem "oauth-plugin", ">=0.4.0.pre1" to Gemfile and running bundle install

cp: /home/users/dimitar/.bundler/tmp/1074/gems/oauth-plugin-0.4.0.pre4 and /home/users/dimitar/.bundler/tmp/1074/gems/oauth-plugin-0.4.0.pre4 are identical (not copied).
cp: /home/users/dimitar/.bundler/tmp/1074/specifications/oauth-plugin-0.4.0.pre4.gemspec and /home/users/dimitar/.bundler/tmp/1074/specifications/oauth-plugin-0.4.0.pre4.gemspec are identical (not copied).

bundle show gives out:

Gems included by the bundle:
Could not find oauth-plugin-0.4.0.pre4 in any of the sources

If I go with just gem "oauth-plugin" in the Gemfile, the gem installs okay, but then I am unable to generate OAuth and OAuth controllers:

$ rails generate oauth_consumer
Could not find generator oauth_consumer.

Any suggestions?

danielgeri commented 13 years ago

I have the same issue. Any luck?

pelle commented 13 years ago

Try using gem "oauth-plugin", ">=0.4.0.pre5"

dalizard commented 5 years ago

I am closing this, it's 2019 😄