HAML problem on hosting

I am using HAML, i’ve been using it since quite sometime, but I haven’t
worked with actually deploying applications to web hostings.
Currently I am trying to host my application to a hostmonster webhosting
that I own, but as I ssh to the server and try to do a rake gems:install
rake db:migrate or so it gives me an error message saying :

!rake aborted
no such file to load – haml

Also, I did a gem list | grep haml and I see haml + haml-edge +
haml_scaffold is installed, but haml command line utility doesn’t work
it throws an error saying command not found for ‘haml’.

Does anybody have any ideas on what’s wrong ? Any suggestions I could
try ?

Thanks & Regards,
Dhruva S…


  • “I, Joan Crawford, I believe in the dollar. Everything I earn, I

I seems that both gems haml and haml-edge create a script named haml.
Unfortunately, the scripts are not identical.

$ diff haml.script haml-edge.script
< # The application ‘haml’ is installed as part of a gem, and

The application ‘haml-edge’ is installed as part of a gem, and

< gem ‘haml’, version
< load Gem.bin_path(‘haml’, ‘haml’, version)

gem ‘haml-edge’, version
load Gem.bin_path(‘haml-edge’, ‘haml’, version)

You might need to decide whether you want haml or haml-edge and the
uninstall both and just install the one you want.