We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Rails 2.0.2 & Ruby 1.8.7
running script/generate oauth_consumer give the error
/vendor/plugins/oauth-plugin/lib/oauth-plugin.rb:6: undefined method `version' for Rails:Module (NoMethodError)
Removing the rails 3 version check, running the script again then gives
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:263:in load_missing_constant': uninitialized constant Rails::Railtie (NameError) vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:inconst_missing' from /u/apps/netadventist3/current/vendor/plugins/oauth-plugin/lib/oauth-plugin.rb:16
load_missing_constant': uninitialized constant Rails::Railtie (NameError) vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in
Unfortunately the app I'm extending has Rails 2.0.2 frozen in
The text was updated successfully, but these errors were encountered:
You need to add one extra condition for rails 3, not remove the check. I ran into the same problem and solved it with this patch: https://github.com/pelle/oauth-plugin/issues#issue/36
Cheers Kim
Sorry, something went wrong.
No branches or pull requests
On Rails 2.0.2 & Ruby 1.8.7
running script/generate oauth_consumer give the error
/vendor/plugins/oauth-plugin/lib/oauth-plugin.rb:6: undefined method `version' for Rails:Module (NoMethodError)
Removing the rails 3 version check, running the script again then gives
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:263:in
load_missing_constant': uninitialized constant Rails::Railtie (NameError) vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in
const_missing'from /u/apps/netadventist3/current/vendor/plugins/oauth-plugin/lib/oauth-plugin.rb:16
Unfortunately the app I'm extending has Rails 2.0.2 frozen in
The text was updated successfully, but these errors were encountered: