Skip to content

Commit

Permalink
YAML::ENGINE is not defined in 1.8.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis committed Sep 1, 2011
1 parent a87dfb0 commit 166c165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ghi.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require "net/http"
require "yaml"
YAML::ENGINE.yamler = "syck"
YAML::ENGINE.yamler = "syck" if YAML.const_defined? :ENGINE

module GHI
VERSION = "0.2.4"
Expand Down

0 comments on commit 166c165

Please sign in to comment.