Google Groups Home
Help | Sign in
Message from discussion HAML error... Any pointers?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Ryan Mulligan  
View profile
 More options 14 Jul 2008, 18:47
From: "Ryan Mulligan" <r...@ryantm.com>
Date: Mon, 14 Jul 2008 12:47:09 -0500
Local: Mon 14 Jul 2008 18:47
Subject: Re: HAML error... Any pointers?

The best way for us to help you is if you post a link to the snippet that
generated that error.

Ryan

On Mon, Jul 14, 2008 at 10:40 AM, simonm <simon.mul...@gmail.com> wrote:

> I've realised that this is caused by HAML syntax errors and the error-
> checking is not working as expected (in Haml::SyntaxError).

> I'll figure it out.

> I have to say, so far this looks perfect ...if I can only get it
> working..... ;-)

> Cheers

> SM

> On 14 Jul, 16:38, simonm <simon.mul...@gmail.com> wrote:
> > Hi All,

> > I'm only 10 minutes in to my adventure with staticmatic (and to be
> > honest, HAML and SASS).

> > I'm getting mongrel errors when I try to preview and when I try to
> > build I see this:

> > ->staticmatic build test_site
> > created test_site/site/stylesheets/application.css
> > /opt/local/lib/ruby/gems/1.8/gems/staticmatic-0.9.4/bin/../lib/
> > staticmatic/base.rb:135:in `generate_html': undefined method
> > `line_offset' for #<Haml::SyntaxError:0x1551ef4> (NoMethodError)
> >         from
> /opt/local/lib/ruby/gems/1.8/gems/staticmatic-0.9.4/bin/../lib/
> > staticmatic/base.rb:151:in `generate_html_with_layout'
> >         from
> /opt/local/lib/ruby/gems/1.8/gems/staticmatic-0.9.4/bin/../lib/
> > staticmatic/base.rb:259:in `build_html'
> >         from
> /opt/local/lib/ruby/gems/1.8/gems/staticmatic-0.9.4/bin/../lib/
> > staticmatic/base.rb:256:in `each'
> >         from
> /opt/local/lib/ruby/gems/1.8/gems/staticmatic-0.9.4/bin/../lib/
> > staticmatic/base.rb:256:in `build_html'
> >         from
> /opt/local/lib/ruby/gems/1.8/gems/staticmatic-0.9.4/bin/../lib/
> > staticmatic/base.rb:61:in `build'
> >         from
> /opt/local/lib/ruby/gems/1.8/gems/staticmatic-0.9.4/bin/../lib/
> > staticmatic/base.rb:53:in `send'
> >         from
> /opt/local/lib/ruby/gems/1.8/gems/staticmatic-0.9.4/bin/../lib/
> > staticmatic/base.rb:53:in `run'
> >         from /opt/local/lib/ruby/gems/1.8/gems/staticmatic-0.9.4/bin/
> > staticmatic:23
> >         from /opt/local/bin/staticmatic:19:in `load'
> >         from /opt/local/bin/staticmatic:19

> > Any suggestions how to troubleshoot?

> > Many thanks in advance

> > SM


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google