Skip to content

Commit

Permalink
Fix for windows and ruby >= 1.9.2 (from pull req #97 via babinho)
Browse files Browse the repository at this point in the history
  • Loading branch information
unixmonkey committed Mar 3, 2012
1 parent d3e50c8 commit 32c0189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wicked_pdf.rb
Expand Up @@ -4,7 +4,7 @@
require 'logger'
require 'digest/md5'
require 'rbconfig'
require RbConfig::CONFIG['target_os'] == 'mingw32' ? 'win32/open3' : 'open3'
require RbConfig::CONFIG['target_os'] == 'mingw32' && !(RUBY_VERSION =~ /1.9/) ? 'win32/open3' : 'open3'
require 'active_support/core_ext/class/attribute_accessors'
require 'active_support/core_ext/object/blank'

Expand Down

0 comments on commit 32c0189

Please sign in to comment.