Uninitialized constant MERB_ROOT? Use Haml trunk.

$ script/generate model User
Connecting to database...
/var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:266:in `load_missing_constant': uninitialized constant MERB_ROOT (NameError)        
from /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in `const_missing'                                                 
from /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:465:in `const_missing_before_generators'                               
from /var/lib/gems/1.8/gems/rubigen-1.1.1/lib/rubigen/lookup.rb:13:in `const_missing'   
...

Having this problem? Haml recently fixed this problem in a commit. You may want to fix it manually, but you could use Haml’s trunk as well.

One Comment

  1. MilesZS posted January 20, 2008, 5:44 pm

    Thanks a ton, this helped me out. I hope you don’t mind, but I ended up writing something up real quick. I did include a few links back this way. I am also looking forward to Part II of “Writing A Web Application In Merb”.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*