ruby_ext 0.4.15 → 0.4.16
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/yaml_fix.rb +9 -9
- metadata +1 -1
data/lib/yaml_fix.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
require 'yaml'
|
2
|
-
|
3
|
-
begin
|
4
|
-
|
5
|
-
|
6
|
-
rescue Exception
|
7
|
-
|
8
|
-
there may be some problems with encoding."
|
9
|
-
end
|
1
|
+
# require 'yaml'
|
2
|
+
#
|
3
|
+
# begin
|
4
|
+
# require 'psych'
|
5
|
+
# YAML::ENGINE.yamler = 'psych'
|
6
|
+
# rescue Exception
|
7
|
+
# warn "can't load 'psych', the new YAML engine (probably the 'libyaml' is not installed), usng 'sych' a deprecated one, \
|
8
|
+
# there may be some problems with encoding."
|
9
|
+
# end
|