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
or
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
and
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…

Joan
Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html

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

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
5c5
< # The application ‘haml’ is installed as part of a gem, and

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

18,19c18,19
< 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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs