Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve yaml19 patch

  • Loading branch information...
commit b98a89b99924acf743c203449dfe33ec8504232f 1 parent 1961242
@msavy msavy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/boxgrinder-core/compat/yaml19.rb
View
2  lib/boxgrinder-core/compat/yaml19.rb
@@ -1,6 +1,6 @@
module BoxGrinder
# Avoid Psych::SyntaxError (<unknown>): couldn't parse YAML ... in 1.9
- if RUBY_VERSION.split('.')[1] == '9'
+ if RUBY_VERSION >= '1.9'
require 'yaml'
YAML::ENGINE.yamler = 'syck'
end
Please sign in to comment.
Something went wrong with that request. Please try again.