Issues with rspec 1.2.8 and ruby 1.9

Hi,

I just tried upgrading to ruby 1.9 and rspec has been giving me strange
errors when I run them with “rake spec”. I get for almost every test
gives
me a “can’t modify frozen object”

The other thing that confuses me is the fact that running script/spec
spec/**/*.rb on the same project using ruby 1.9.1 doesn’t give me any
errors
at all but runs about 10 tests less…

I posted the both outputs here 192712’s gists · GitHub

Here’s my environment info :

xto@Phoenix:~$ ruby -v
ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux]

xto@Phoenix:~$ sudo gem19 list
[sudo] password for xto:

*** LOCAL GEMS ***

actionmailer (2.3.4, 2.3.2)
actionpack (2.3.4, 2.3.2)
activerecord (2.3.4, 2.3.2)
activeresource (2.3.4, 2.3.2)
activesupport (2.3.4, 2.3.2)
authlogic (2.1.2)
daemons (1.0.10)
eventmachine (0.12.8)
fastthread (1.0.7)
febeling-rubyzip (0.9.2)
gem-sane-binary (0.1.1)
hoe (2.3.3)
mysql (2.8.1)
passenger (2.2.5)
rack (1.0.0)
rails (2.3.4, 2.3.2)
rake (0.8.7)
rspec (1.2.8)
rspec-rails (1.2.7.1)
rubyforge (1.0.5)
rubygems-update (1.3.5)
spork (0.7.1)
test-unit (1.2.3)
thin (1.2.4)
ZenTest (4.1.4)

Commands ran:
rake spec
script/spec spec/**/*.rb

If there any more info needed to enlightnen me on this issue, let me
know.

Thanks for taking the time to check this out.

Xavier

On Thu, Sep 24, 2009 at 8:18 AM, Xavier To [email protected]
wrote:

I posted the both outputs here 192712’s gists · GitHub

gem-sane-binary (0.1.1)
spork (0.7.1)
test-unit (1.2.3)
thin (1.2.4)
ZenTest (4.1.4)

Commands ran:
rake spec
script/spec spec/**/*.rb

If there any more info needed to enlightnen me on this issue, let me know.

Please post at least one of the examples (with the implementation
code) that is failing this way, and also please run the spec w/
–backtrace and post the full backtrace for the same example you’re
posting.

Thx