Looking around it seems obvious from everyone else receiving this error that I need to require 'httparty' before the start of the class. So I do that and I receive this error:
I have the gem listed in my gemspec as
spec.add_dependency 'httparty"
and when I run bundle I see the httparty gem listed as being installed and using version 0.13.3.
When I'm running IRB, I can require 'httparty' and it returns true and a gem list --local shows as having the aforementioned version installed on my machine.
Any ideas as to what could be going on here? I've been going crazy looking for a solution and I seem to be running around in circles.
Here's some system info:
ruby version = ruby 2.1.0p0 [x86_64-linux]
rails version = Rails 4.1.1