What steps will reproduce the problem?
1. set up ruby enterprise
2. download and run script
3. profit!
What is the expected output? What do you see instead?
./check_webpage.rb -vv -u http://google.ru
* ARGS: c=60 w=5 e=0 w2=10 u=http://google.ru
* Get main page: http://google.ru/
./check_webpage.rb:214:in `getUrl': undefined method `to_yaml' for #<Net::HTTP
google.ru:80 open=false> (NoMethodError)
from ./check_webpage.rb:311
What version of the product are you using? On what operating system?
latest version, ubuntu 10.04, ruby enterprise Version 1.8.7-2011.03 for Ubuntu
10.04 (32-bit)
Please provide any additional information below.
fixed by
require 'yaml' in the beginning of the script
Original issue reported on code.google.com by taz.ins...@gmail.com on 2 Mar 2011 at 8:43
Original issue reported on code.google.com by
taz.ins...@gmail.com
on 2 Mar 2011 at 8:43