Good question, thanks Nathan
on the one hand it seems OK... I do
which html2haml # => /usr/local/bin/html2haml
which erubis # => /usr/local/bin/erubis

AND...
ls -al /usr/local/lib/ruby/gems/1.8/gems/ | egrep '(haml|erubis)'

returns:

drwxr-xr-x   14 root  wheel   476 13 Jul 11:41 erubis-2.6.6
drwxr-xr-x   17 root  wheel   578 13 Jul 13:12 haml-3.0.13

so that looks OK. BUT...

gem which haml # => /usr/local/lib/ruby/gems/1.8/gems/haml-3.0.13/lib/
haml.rb
gem which erubis # => Can't find ruby library file or shared library
erubis


So I'm a bit confused. Erubis is present in the right places, appears
on the gem list, but somehow is not findable by gem which or
html2haml. Any further insight would be greatly appreciated.

Les


On Jul 13, 12:37 pm, Nathan Weizenbaum <[email protected]> wrote:
> Is it possible you have Erubis and Haml installed under separate Rubygems
> installations?
>
>
>
> On Tue, Jul 13, 2010 at 11:42 AM, Les <[email protected]> wrote:
> > Just getting started (finally!) with haml (3.0.13)
>
> > If I do:
> > html2haml -e app/views/audit/index.html.erb app/views/audit/
> > index.html.haml
>
> > I get:
> > Required dependency erubis not found!
> >  Run "gem install erubis" to get it.
>
> > But I definitely have erubis installed. If I gem list I see "erubis
> > (2.6.6)"
>
> > Any clues what might be the problem?
> > Any help greatly appreciated.
>
> > TIA
>
> > Les
>
> > --
> > 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.

Reply via email to