Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

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 .

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top