Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

force ruby 1.9 to use the syck yaml parser

  • Loading branch information...
commit f7c587d2458ab697b24c6c9ea2c04feea05831d0 1 parent 5df7e45
@johnmuhl johnmuhl authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 app/models/radiant/exporter.rb
View
5 app/models/radiant/exporter.rb
@@ -1,3 +1,8 @@
+if RUBY_VERSION > "1.9"
+ require "yaml"
+ YAML::ENGINE.yamler = "syck"
+end
+
module Radiant
class Exporter
cattr_accessor :exportable_models
Please sign in to comment.
Something went wrong with that request. Please try again.