Chances are you don't have the RubyGems executables in your PATH. Figure out where they are (/var/lib/gems/1.8/bin for me, but /usr/lib/ruby/gems/1.8/bin might be more likely for you) and add that to your PATH, then try again.
As a side note, the flag for installing Haml in a Rails project is --rails, not --ruby. - Nathan matt simp wrote: > I already have haml installed successfully and am using it at work, so > I tried to gem my box at home to have RoR and haml etc... but when I > do 'haml --ruby .' to include haml in my project it gives me this > error: > > bash: haml: command not found > > BUT... when I do 'gem list haml' I get: > > *** LOCAL GEMS *** > > haml (1.7.2) > An elegant, structured XHTML/XML templating engine. Comes with > Sass, > a similar CSS templating engine. > > any ideas? I've already done gem uninstall haml, and then tried > installing the repository 1.9 version, but i still got the same > problem. > > thank > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
