Looks like your syntax is incorrect.
The first step where you tried to require httparty seems to failed. You can use the require dependencies in console to get around this:
require_dependency 'httparty'
you should then see a return of true
when it is successful
Then to exec Httparty commands you can use the following :
HTTParty.get(url, options_hash)
Example:
HTTParty.get('http://twitter.com/statuses/public_timeline.json', {})
#<HTTParty::Response:0x3a624e0 parsed_response={"error"=>"Could not authenticate you.", "request"=>"/statuses/public_timeline.json"},
...
You may not need to load the dependency if you have the gem installed, you can probably just go right to the HTTParty class.