kboj...@kbojcic-laptop:~/gosjar$ haml
The program 'haml' is currently not installed.  To run 'haml' please
ask your administrator to install the package 'libhaml-ruby1.8'

?

On May 23, 1:49 am, Nathan Weizenbaum <[email protected]> wrote:
> If you have the Haml gem installed, you'll also have a "haml" command-line
> utility. The simplest way to use it is to just run "haml", type in Haml
> code, and press Ctrl-D. Then it'll spit out the compiled HTML.
>
>
>
> On Sat, May 22, 2010 at 4:44 PM, drKreso <[email protected]> wrote:
> > Hey, thanks for response. How can I use it from the command line?
>
> > Best Regards,
>
> > Kreso
>
> > On May 23, 12:55 am, Nathan Weizenbaum <[email protected]> wrote:
> > > Can you reproduce this using Haml from the command line?
>
> > > On Fri, May 21, 2010 at 5:03 PM, drKreso <[email protected]>
> > wrote:
> > > > I get the error Filter "javascript" is not defined.
>
> > > > Ruby 1.9.1, Rails 2.3.5, Haml 3.0.4
>
> > > > Other filters are not working eather. (:plain for example). If I put
> > > > %script and  "unindent" JQUERY, everything works fine.
>
> > > > Please help.
>
> > > > -content_for :titlebar do
> > > >  Pregled učestalosti kvarova po rasvjetnim mjestima
> > > > -content_for :script do
> > > >  =javascript_include_tag 'kvar_rasvjetno_mjesto.js'
> > > > :javascript
> > > >  $(function() {
> > > >   $("table.mainTable tr").click(function () {
> > > >   id = $(this).attr("id");
> > > >   prikaziRasvjetnoMjesto(id)
> > > >  });
> > > >  });
> > > > %span#view-izvjestaj
> > > >  %table#ucestalostTable.mainTable
> > > >  %thead
> > > >   %tr.ui-widget-header
> > > >    %th Broj kvarova
> > > >    %th Oznaka
> > > >    %th Tip stupa
> > > >    %th Visina
> > > >    %th Lokacija
> > > >  %tbody
> > > >   -...@ucestalost_po_rasvjetnom_mjestu.each do |item|
> > > >    %tr{:id => item.id}
> > > >     %td= item.broj_kvarova
> > > >     %td= item.oznaka
> > > >     %td= item.tip_stupa_naziv
> > > >     %td= item.visina
> > > >     %td= item.ulica.lokacija
> > > > %br
> > > >  %img{:src =>'/izvjestaji/
> > > > ucestalost_po_rasvjetnom_mjestu_graf' , :style =>'border:1px solid
> > > > #aabcca;'}
>
> > > > --
> > > > 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]><
> > haml%[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] <haml%[email protected]>.
> > > For more options, visit this group athttp://
> > 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] <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 
> athttp://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