Thanks Nathan.

I ran it in development mode, and it produced some very helpful error
messages.

It turned out, on line 47, I had 3 spaces on an empty line.

I am going to suggest in Trac(if it allows it) that 2-space
requirements be wavered for empty lines. There is no need, and has
caused me a lot of headache.

In case it helps anybody else. I had trouble running in dev mode
intially. This was because my dev database was not setup.

Thanks again.
Xin

On Mar 29, 5:43 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> The reason comments aren't mentioned in the docs is that we don't really
> want people using the messy only-at-the-beginning-of-the-line syntax.
> Thus, we aren't mentioning comments at all until the next release, when
> they'll be much nicer.
>
> As to your error, the next step would be to figure out what's causing
> the error. Sass will give lots of information about this in development
> mode; try running it in that and checking what the stylesheet says.
>
> - Nathan
>
> Xin wrote:
> > Thanks for the quick reply Nathan.
>
> > This comment information should be in the Sass online docs:)
>
> > I have tried using //, and now without comment at all, but it is still
> > producing the same error message.
>
> > Here's the updated code,http://pastie.caboo.se/50266.
>
> > Any further suggestions?
>
> > Xin
>
> > On Mar 29, 4:42 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>
> >> It's failing because Sass doesn't support C-like wrapped comments (using
> >> /**/). In fact, in version 1.5, it only supports one sort of comment:
> >> "//" at the beginning of the line (yes, disregarding indentation) will
> >> cause the line not to be parsed.
>
> >> As of the current trunk version, there are two robust ways to create
> >> comments. Non-outputting comments can be created by following a
> >> properly-indented "//" with text. For example:
>
> >>   #main
> >>     // Setting text color
> >>     :color blue
>
> >> compiles to
>
> >>   #main {
> >>     color: blue; }
>
> >> Comments that do output as CSS comments can be created with "/*". Note
> >> that "/*" is /just/ an opener; no closing "*/" is needed. For example:
>
> >>   #main
> >>     /* Setting text color
> >>     :color blue
>
> >> compiles to
>
> >>   #main {
> >>     /* Setting text color */
> >>     color: blue; }
>
> >> You can also nest blocks of text beneath either of these.
>
> >> Hope that's helpful!
> >> - Nathan
>
> >> Xin wrote:
>
> >>> I am getting an:
> >>> /* Internal Stylesheet Error */
>
> >>> when I use Sass on my live server. It works absolutely fine locally.
>
> >>> Now thinking about it, this must be a version issue.
>
> >>> Locally, I am using InstantRails 1.5, so:
> >>> Ruby 1.8.5
> >>> Rails 1.2.2
> >>> Using Mongrel 1.0.1
>
> >>> With my production server, which is with HostingRails, I am using:
> >>> Ruby 1.8.5
> >>> Rails 1.2.3
> >>> Using FastCGI
>
> >>> Here is my complete Sass file:http://pastie.caboo.se/50260
>
> >>> Any help is greatly appreciated.
>
> >>> Xin


--~--~---------~--~----~------------~-------~--~----~
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