That's bizarre. rails_root should definitely be defined for 2.2.15... I suppose you could check in lib/haml/util.rb to see if it's really there. Maybe this is some sort of weird version conflict?
On Wed, Dec 2, 2009 at 7:36 AM, Bradley Grzesiak <[email protected]>wrote: > Hey all. > > I'm getting this error message when running rake on my rails app: > > undefined method `rails_root' for Haml::Util:Module > /Library/Ruby/Gems/1.8/gems/haml-2.2.15/rails/../lib/haml/template.rb:64 > /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > [...rest of stack trace...] > > This happens on my dev machine and the staging and production servers, but > not my coworker's dev machine. Any ideas? > > Thanks! > :brad > > -- > Bradley Grzesiak > [email protected] > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
