Hello
Code:
require 'rubygems'
require 'hpricot'
require 'open-uri'
url = "
http://api.comicvine.com/characters/?api_key=(MYAPI)&format=xml"
doc = Hpricot( open( url ) )
puts (doc/"number_of_page_results").inner_html
puts "test"
When i try to run the file using Ctrl + f6 for testing the file
/usr/local/netbeans-6.5.1/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:34:in `require': no such file to load -- hpricot (LoadError)
Any ideas?
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...