Yaml parses a question about redhat

In the RHEL5 field for a rails application running on ruby ​​1.9.2, the following yaml is parsed so that login_type is set to "ldap" even in an intermediate environment. Anyone have any ideas as to why this is happening?

defaults: &defaults
  login_type: ldap

staging:
  <<: *defaults
  login_type: developer
+3
source share
1 answer

Perhaps this is due to this issue of Bundler / Ruby / Psych - it has already been fixed, but not in the current version of Ruby,

, OS X (, , Ubuntu), , , libyaml / Ruby, Psych ; Syck, . ( require 'psych' OS X, , RHEL5)

YAML Syck Psych, boot.rb ( - Ruby Syck):

YAML::ENGINE.yamler = 'syck'

, , DRAM YAML ( ).

UPDATE

Ruby, (1.9.2-p290), .

+2

All Articles