On Fri, Aug 19, 2011 at 06:47, Martin Kouba <mkouba@redhat.com> wrote:
Well haml looks fine but I wonder if there is some easy way to render it swiftly without using preview in some rails editor.

You just need to do these 2 steps (requires that you have ruby and gems installed).

gem install awestruct
awestruct --auto --server (from project directory)

NOTE: The project modules macro is currently broken, so I had to disable it in _ext/pipeline.rb. Jason, could you update that?

The site will be available at

http://localhost:4242

It will update as you make changes to the haml files.

Note that you may have to add /var/lib/gems/1.8/bin to your PATH to get the awestruct command.

-Dan

--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://www.google.com/profiles/dan.j.allen#about
http://mojavelinux.com
http://mojavelinux.com/seaminaction