##// END OF EJS Templates
Ruby 1.9: force use syck yaml library (#8847, #4050)....
Toshi MARUYAMA -
r6342:3c9e99b804e7
parent child
Show More
@@ -1,6 +1,11
1 # Don't change this file!
1 # Don't change this file!
2 # Configure your app in config/environment.rb and config/environments/*.rb
2 # Configure your app in config/environment.rb and config/environments/*.rb
3
3
4 if RUBY_VERSION >= '1.9'
5 require 'yaml'
6 YAML::ENGINE.yamler = 'syck'
7 end
8
4 RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
9 RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
5
10
6 module Rails
11 module Rails
General Comments 0
You need to be logged in to leave comments. Login now