components/ruby/ruby-19/patches/01-yaml_rb.patch
changeset 1482 7a1f84fbc2d7
equal deleted inserted replaced
1481:246d38ae4b93 1482:7a1f84fbc2d7
       
     1 # Until we add libyaml to Solaris, ruby will build with syck instead of psych;
       
     2 # eliminate warning message, so it won't show up for every invocation of gem
       
     3 #
       
     4 --- ruby-1.9.3-p448.orig/lib/yaml.rb	Wed May 29 05:00:57 2013
       
     5 +++ ruby-1.9.3-p448/lib/yaml.rb	Mon Aug 26 14:57:17 2013
       
     6 @@ -85,9 +85,10 @@
       
     7      require 'psych'
       
     8      engine = 'psych'
       
     9    rescue LoadError
       
    10 -    warn "#{caller[0]}:"
       
    11 -    warn "It seems your ruby installation is missing psych (for YAML output)."
       
    12 -    warn "To eliminate this warning, please install libyaml and reinstall your ruby."
       
    13 +# remove warning for now, until libyaml is included in Solaris
       
    14 +#    warn "#{caller[0]}:"
       
    15 +#    warn "It seems your ruby installation is missing psych (for YAML output)."
       
    16 +#    warn "To eliminate this warning, please install libyaml and reinstall your ruby."
       
    17      require 'syck'
       
    18      engine = 'syck'
       
    19    end