From: Aaron Patterson Date: 2011-11-09T01:14:39+09:00 Subject: [ruby-core:40850] Re: [Ruby 1.8 - Bug #5599][Open] YAML.load_documents --kfjH4zxOES6UT95V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 08, 2011 at 11:50:10PM +0900, Thomas Sawyer wrote: >=20 > Issue #5599 has been reported by Thomas Sawyer. >=20 > ---------------------------------------- > Bug #5599: YAML.load_documents > http://redmine.ruby-lang.org/issues/5599 >=20 > Author: Thomas Sawyer > Status: Open > Priority: High > Assignee:=20 > Category:=20 > Target version:=20 > ruby -v: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] >=20 >=20 > Just discovered: >=20 > YAML.load_documents(@out) >=20 > is raising an error "undefined method `call' for nil:NilClass", b/c their= is no block, but it is supposed to (and used to) return an array of docume= nts. What version of Ruby did it work in (pre 1.8.7)? > It works fine in Ruby 1.9.3. Can you just upgrade? I don't plan to fix anything in syck in 1.8, and I'll remove it in Ruby 2.0 --=20 Aaron Patterson http://tenderlovemaking.com/ --kfjH4zxOES6UT95V Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iQEcBAEBAgAGBQJOuVVoAAoJEJUxcLy0/6/GI4sH/jNwtOFfzW8KRrtLBLsdTjRs wfB3yVHvaOPu2kv7RTyAJMdu97ybdJwlaLzA76JiUXGZ0nZDFkMjdu5aEJs4Yc5B 3M5YMew0raLCKsCc5+L6sJBRA7k3ZCTUEXsDrQCCgl9QDK/cHoEBafQikdxS7yHJ TZGJu2OfKe278RNydpOs5tt3QfO6No4r1pZe49aytpWttLbVtSw8u9/6vPqN42uO m5/xrlcl3NRyEvCEZQwuJu4wIq543MKPeqU4Zlap/SGRDpItczWvR2pvqL1+8A98 9Ig5qc/f9DguzWZdlunPQkmy6s3TWGGc2qqGKNOzeHWmbUju9F2jYW9VizFGQpM= =2dF7 -----END PGP SIGNATURE----- --kfjH4zxOES6UT95V--