# HAML problem on hosting

**URL:** <https://www.ruby-forum.com/t/haml-problem-on-hosting/174631>\
**Category:** Rails\
**Created:** [August 30, 2009, 11:23am UTC](https://www.ruby-forum.com/t/haml-problem-on-hosting/174631 "2009-08-30T11:23:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhruvasagar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/4bbf92/32.png) [@dhruvasagar](https://www.ruby-forum.com/u/dhruvasagar)\
**Post date:** [August 30, 2009, 11:23am UTC](https://www.ruby-forum.com/t/haml-problem-on-hosting/174631/1 "2009-08-30T11:23:34Z")

</div>

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  
Crawford[http://www.brainyquote.com/quotes/authors/j/joan\_crawford.html](http://www.brainyquote.com/quotes/authors/j/joan_crawford.html)

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

---

<div class="post-metadata">

**Author:** ![dhruvasagar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/4bbf92/32.png) [@dhruvasagar](https://www.ruby-forum.com/u/dhruvasagar)\
**Post date:** [August 30, 2009, 1:44pm UTC](https://www.ruby-forum.com/t/haml-problem-on-hosting/174631/2 "2009-08-30T13:44:37Z")

</div>

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.
