Bug #2109: Marshal gives error when dumping and loading array with two regexps in ruby 1.9.1-p243 http://redmine.ruby-lang.org/issues/show/2109 Author: Stefano Crocco Status: Open, Priority: Normal ruby -v: ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux] In ruby 1.9.1-p243, attempting to dump and load again an array containing two or more Regexps gives an error. For example, the following code: str = Marshal.dump [/a/, /b/] Marshal.load str gives this error: prova.rb:2:in `load': can't convert Regexp into String (TypeError) The above code worked perfectly with ruby 1.9.1-p129. This is happening in Gentoo Linux. ---------------------------------------- http://redmine.ruby-lang.org