I\'ve been trying to use HTTParty in my rails code
sudo gem install httparty
From the command line I can now successfully do
ht
I had this same error. I tried moving the require HTTParty all over, but found, all I needed to do was restart the rails server In the end I did not need to 'require HTTParty' nor 'include' it. It just needed to be loaded into rails.
require HTTParty
rails server