Mex Noob Yes wrote:
> i got a module x and then a class z and inside this class i do a
> Net::HTTP call and it looks for it inside module x ... and i am
> clueless...
> 
> i get uninitialized constant ModuleX::Net::HTTP

Almost certainly you forgot the "require 'net/http'" in the actualy code 
you're using, or else you have a typo in the 'Net' or 'HTTP'.

Ruby tries both Net::HTTP and ModuleX::Net::HTTP, and will only give 
this error if both don't exist. Hence I don't believe that you have 
actually loaded Net::HTTP.
-- 
Posted via http://www.ruby-forum.com/.