tags:

views:

50

answers:

2

I get numerous "method redefined" warnings while running an application under Merb 0.9.3. Of course, I get this only when I run my script using the ruby -w option. Is there any way to get rid of the methods getting redefined (repeated loading of files) again and again?

Has this been resolved in Merb 1?

A: 

I don't know about your issue but Merb 1.0 works great for me. I also recommend using the latest version, there are a some bugs fixed even from 1.0.x.

Mihai A
A: 

Whether you get warnings may depend on which ruby version or warning level you use, as can be seen in this gist.

Or maybe they fixed stuff between 0.93 and 1.0 .

Andrew Grimm