diff --git a/config/environment.rb b/config/environment.rb index 984b36c..c6d49c6 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,7 +1,9 @@ # Load the rails application require File.expand_path('../application', __FILE__) -require 'yaml' -YAML::ENGINE.yamler= 'syck' +if RUBY_VERSION >'1.9' + require 'yaml' + YAML::ENGINE.yamler= 'syck' +end # Initialize the rails application Errbit::Application.initialize! -- libgit2 0.21.2