PoGoBag
PoGoBag copied to clipboard
wrong number of arguments (given 2, expected 3)
I'm having trouble logging in via the Google Authorization method -- after a fresh install, I'm getting the following error:
ArgumentError in SessionsController#create wrong number of arguments (given 2, expected 3)
I think this may have something to do with an update to the way Google Authenticates and it's now accepting a third argument. Any thoughts on a quick fix to this? Thanks!
I tried implementing a solution mentioned in #24 (which is why there are commented out lines in the screenshot) but it gave me an error of "Invalid user/password combination"
When I tried adding a their argument to the highlighted in red line "google =" then it returns this error: undefined method `upcase' for nil:NilClass
So not sure how to work around this!
I am getting the same error. Running ubuntu.
Any updates?
I actually already made a thread for this issue.. I think it might have something to do with the version of ruby you are using. The first time i installed this app i had ruby already installed at the newest version. i had to install the version that the tutorial calls for (ruby 2.2) and then it started working right. What i did was uninstall everything ruby and rails related, then reinstall following the tutorial again, and using ruby 2.2. made sure to add everything to my Path variable and it just worked that time.... still cannot get whenever -w to work though
Change poke-api line in Gemfile to:
gem 'poke-go-api',
git: "https://github.com/nabeelamjad/poke-api.git",
tag: '0.1.0'
I believe this happens because of updates to the poke-api.