-
-
Notifications
You must be signed in to change notification settings - Fork 264
Closed
Description
Our usage:
oauth \
--verbose \
--query-string \
--consumer-key v484mnii2jyswedm6uo2cfcjay7uy49snws \
--consumer-secret koay6845che7giy5lr17gnrhckkbhf8h5 \
--access-token-url https://www.yourstore.com/oauth/token \
--authorize-url https://wwws.yourstore.com/admin/oauth_authorize \
--request-token-url https://www.yourstore.com/oauth/initiate \
authorizeOn 0.5.2, the above bash script for Magento, fails:
/home/my-folder/.rvm/gems/ruby-2.2.5/gems/oauth-0.5.2/lib/oauth/cli.rb:32:in `get_command_class': undefined method `camelize' for "help":String (NoMethodError)
from /home/my-folder/.rvm/gems/ruby-2.2.5/gems/oauth-0.5.2/lib/oauth/cli.rb:20:in `initialize'
from /home/my-folder/.rvm/gems/ruby-2.2.5/gems/oauth-0.5.2/bin/oauth:11:in `new'
from /home/my-folder/.rvm/gems/ruby-2.2.5/gems/oauth-0.5.2/bin/oauth:11:in `<top (required)>'
from /home/my-folder/.rvm/gems/ruby-2.2.5/bin/oauth:23:in `load'
from /home/my-folder/.rvm/gems/ruby-2.2.5/bin/oauth:23:in `<main>'
from /home/my-folder/.rvm/gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in `eval'
from /home/my-folder/.rvm/gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in `<main>'We thought this issue could be an incompatibility with Ruby 2.2.5, so we downgraded to Ruby 2.0.0, and got the same error.
The work around for this issue is downgrading to 0.5.1.
gem uninstall oauth
gem install oauth -v 0.5.1Metadata
Metadata
Assignees
Labels
No labels