I am following this guide (http://devcenter.heroku.com/articles/omniauth-and-force-com) in hooking up Salesforce.com REST API with ruby on rails.
I’m at the part where I type in “rails generate controller sessions create”, but I get an error saying that omniauth/oauth can’t be found, even though I definitely installed it.
The guide also says that I need to type in
gem 'omniauth', '0.2.0'
gem 'httparty'
but whenever I do this I get an error saying “Unknown command omniauth”. I’m totally new at this, could someone point me in the right direction?
These lines:
Are meant to go in a file called
Gemfilethat is in the root of your project directory. If you are typing them into the command line, that is where you are getting hung up. You should then typebundle installinto the command line to update the dependencies from your app and continue with the tutorial from there.