I had the same problem. Your haml/sass executable is not in the PATH variable, or something like that. Also, it's likely that you have installed the latest version of gems from their site instead of the Universe repo version for Ubuntu.
I tried different things but the only thing that worked the way I wanted (latest releases and all) was removing *everything* related (ruby, rubygems, haml) and then: - run sudo autoclean to get rid of partial downloads and older versions. - Install the package "ruby-full" from the Ubuntu repos. - Get the latest rubygems package and *note the name of the executable added to your path* in the installation output. On my box it was "gem1.8" - Install haml/sass using: sudo $exec-name install haml (i.e: sudo gem1.8 install haml) Or using the instructions for bleeding edge and just replacing the "gem" part. - Install all other necessary gems with this method (i.e. staticmatic) Though it's probably overkill somewhere -with all the removing and installing- this method ensures that your system (and therefore any app you run) *sees* the gems without any additional PATH tweaking or disposable code. I needed this to extend gedit properly as an IDE. Only had this issue with Lucid, BTW. Let me know if you need more info. Hope it works! Cheers, chepi On Mon, Jul 5, 2010 at 3:10 PM, lyuba <[email protected]> wrote: > Matt, thanks for your suggestion. I've checked my /usr/bin and there > is no sass folder in there. Moreover, there is no sass folder at all > according to > $ whereis sass > > It seem that it's not installed, but... > $ haml -v > Haml/Sass 3.1.49 (Bleeding Edge) > > What may cause the problem then? Appreciate your help! > > On Jul 4, 11:51 pm, Matt Harrison <[email protected]> > wrote: > > This isn't certain but.... > > > > On 03/07/2010 16:26, lyuba wrote: > > > > > Hello everyone! > > > Please sorry if the question was already discussed, but I haven't > > > found any suggestion so far. > > > > > What I want is just watch the folder of scss files. > > > > > I have Ruby, Rubygems and Haml Haml/Sass 3.1.49 (Bleeding Edge) > > > installed on my Ubuntu 10.04. > > > > > That's what I get when trying to call sass: > > > $ sass -help > > > bash: /usr/bin/sass: No such file or directory > > > > The fact that it resolves the full path (/usr/bin/sass) indicates that > > the file is there, but the error message leads you to believe otherwise. > > /usr/bin/sass is a ruby script (at least I think it was the last time I > > looked closely) and the error message is most likely talking about the > > interpreter not being found. > > > > find your ruby interpreter (maybe /usr/bin/ruby) and check the first > > line of /usr/bin/sass. They should be effectively the same.> Haml was > installed with sudo. What am I doing wrong? Appreciate you > > > help! > > > > I hope this helps a little. > > -- > 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.
