Thanks, that worked.

I was running into issues where I had different versions of Haml installed. 
After uninstalling all older versions and installing only 4.0.2 everything 
worked fine. 

Then I bundled gems for one of the older projects, which installed version 
3.1.4. That version seemed to take over the terminal commands (both *haml -v
* and *html2haml -v* showed *Haml 3.1.4 Separated Sally*). This baffled me 
for a while, until I realized that this version of Haml was installed 
within the project's gem bundle. The "normal" 4.0.2 *haml* and 
*html2haml*commands were still available outside the project directory.


On Monday, April 15, 2013 7:31:22 PM UTC-7, Norman Clarke wrote:
>
> Html2haml used to come bundled with Haml prior to version 4. You might 
> want to uninstall Haml 3.1.4 to make sure the right version gets run. Also 
> make sure you're running the very latest html2haml - a few prereleases back 
> there was a bug with html2haml loading the wrong version of Haml.
>
> The latest version also now sets Hpricot as a dependency, so as long as 
> you're running the latest version you shouldn't see that error.
>
> Regards,
>
> Norman
>
>
> On Mon, Apr 15, 2013 at 11:26 PM, armanx <arm...@gmail.com 
> <javascript:>>wrote:
>
>> Hello all,
>>
>> I'm running into the notorious *hpricot* dependency (*LoadError: cannot 
>> load such file -- hpricot*) when running html2haml. I'm using RVM, and 
>> also tried installed the html2haml gem, but to no avail.
>>
>> Also, this is strange: the newly installed gem is located at 
>> ~/.rvm/gems/ruby-1.9.3-p392/bin/html2haml, but when I run html2haml, the 
>> error is generated from 
>> ~/.rvm/gems/ruby-1.9.3-p392/gems/haml-3.1.4/lib/haml/html.rb:6.
>>
>> Any ideas are greatly appreciated!
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Haml" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to haml+uns...@googlegroups.com <javascript:>.
>> To post to this group, send email to ha...@googlegroups.com <javascript:>
>> .
>> Visit this group at http://groups.google.com/group/haml?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haml+unsubscr...@googlegroups.com.
To post to this group, send email to haml@googlegroups.com.
Visit this group at http://groups.google.com/group/haml?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to