On Fri, Aug 19, 2011 at 06:47, Martin Kouba <span dir="ltr">&lt;<a href="mailto:mkouba@redhat.com">mkouba@redhat.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<u></u>

  
    
    
  
  <div bgcolor="#ffffff" text="#000000">
    <font face="sans-serif">Well haml looks fine </font>but I wonder if
    there is some easy way to render it swiftly without using preview in
    some rails editor.<br></div></blockquote><div><br></div><div>You just need to do these 2 steps (requires that you have ruby and gems installed).</div><div><br></div><div>gem install awestruct</div><div>awestruct --auto --server (from project directory)</div>

<div><br></div><div>NOTE: The project modules macro is currently broken, so I had to disable it in _ext/pipeline.rb. Jason, could you update that?</div><div><br></div><div>The site will be available at</div><div><br></div>

<div><a href="http://localhost:4242">http://localhost:4242</a></div><div><br></div><div>It will update as you make changes to the haml files.</div><div><br></div><div>Note that you may have to add /var/lib/gems/1.8/bin to your PATH to get the awestruct command.</div>

<div><br></div><div>-Dan</div><div><br></div></div>-- <br><div>Dan Allen</div>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><div><a href="http://www.google.com/profiles/dan.j.allen#about" target="_blank">http://www.google.com/profiles/dan.j.allen#about</a><br>

<a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br></div><br>