title: Why do I get the error uninitialized constant Stuff::HTTParty?
body: <p>I have the HTTParty gem on my system and I can use it from within rails.</p>
  
  <p>Now I want to use it standalone.</p>
  
  <p>I am trying:</p>
  
  <pre><code>class Stuff
    include HTTParty
    def self.y
      HTTParty.get('http://www.google.com')
    end 
  end
  Stuff.y
  </code></pre>
  
  <p>but I get </p>
  
  <pre><code>$ ruby test_httparty.rb 
  test_httparty.rb:2:in `&lt;class:Stuff&gt;': uninitialized constant Stuff::HTTParty (NameError)
          from test_httparty.rb:1:in `&lt;main&gt;'
  07:46:52 durrantm Castle2012 /home/durrantm/Dropnot/_/rails_apps/linker 73845718_get_method
  $ 
  </code></pre>