haml-rails is the most modern Haml integration plugin. It'll be integrated into Haml proper soon.
On Aug 29, 2010 1:19 PM, "Chris Eppstein" <[email protected]> wrote: > For some reason, Haml does not provide rails 3 generators yet. I think > there's some other plugins you can install but I don't know which to > recommend. > > chris > > On Sun, Aug 29, 2010 at 6:47 AM, nathanvda <[email protected]> wrote: > >> If i type 'rails g controller Posts index' >> i get the error >> >> error haml [not found] >> >> >> Yet i have "gem 'haml'" in my Gemfile, i have installed "gem install >> haml" inside my rvm. I recently switched to 1.9.2. >> In my application.rb i have added the following: >> >> config.generators do |g| >> g.template_engine :haml >> end >> >> If i do 'bundle show haml' i get the following: >> >> $ bundle show haml >> /home/nathan/.rvm/gems/ruby-1.9.2-p0/gems/haml-3.0.17 >> >> So i am a bit at a loss. I seem to be overlooking something blindingly >> obvious. >> Can anybody help me? >> >> -- >> 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]> < haml%[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] <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.
