Ruby 1.9 issue, must explicitly run to_s on the err object. Closes #14.

Signed-off-by: Nick Quaranto <nick@quaran.to>
This commit is contained in:
Bjørn Arild Mæland 2009-06-03 13:20:45 +02:00 committed by Nick Quaranto
parent 486ae25fc1
commit 414dfbe26e
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ module Jekyll
STDOUT.puts "Configuration from #{config_file}"
rescue => err
STDERR.puts "WARNING: Could not read configuration. Using defaults (and options)."
STDERR.puts "\t" + err
STDERR.puts "\t" + err.to_s
config = {}
end