lib/wicked_pdf.rb in wicked_pdf-0.7.6 vs lib/wicked_pdf.rb in wicked_pdf-0.7.7
- old
+ new
@@ -47,10 +47,10 @@
(defined?(Rails) && Rails.env == 'development') ||
(defined?(RAILS_ENV) && RAILS_ENV == 'development')
end
def on_windows?
- Config::CONFIG['target_os'] == 'mingw32'
+ RbConfig::CONFIG['target_os'] == 'mingw32'
end
def print_command(cmd)
p "*"*15 + cmd + "*"*15
end