-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Using Ruby 1.9.1
Using libxml-ruby 2.0.9
weather = NOAA.current_conditions_at_station("KCAK")
weather.weather_description
NoMethodError: undefined method `xpath' for #<LibXML::XML::Document:0x00000107379418>
from /Users/skibler/Projects/newscloudcms/.bundle/ruby/1.9.1/gems/noaa-0.2.4/lib/noaa/current_conditions.rb:177:in `text_from_node'
from /Users/skibler/Projects/newscloudcms/.bundle/ruby/1.9.1/gems/noaa-0.2.4/lib/noaa/current_conditions.rb:30:in `weather_description'
from (irb):6
from /Users/skibler/Projects/newscloudcms/.bundle/ruby/1.9.1/gems/railties-3.0.3/lib/rails/commands/console.rb:44:in `start'
from /Users/skibler/Projects/newscloudcms/.bundle/ruby/1.9.1/gems/railties-3.0.3/lib/rails/commands/console.rb:8:in `start'
from /Users/skibler/Projects/newscloudcms/.bundle/ruby/1.9.1/gems/railties-3.0.3/lib/rails/commands.rb:23:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Metadata
Metadata
Assignees
Labels
No labels