From: David Balmain Date: 2006-10-07T03:27:56+09:00 Subject: Re: tabs and parse errors with Ruby 1.8.4 and Windows On 10/7/06, Wilson Bilkovich wrote: > On 10/6/06, Will Rogers wrote: > > This is a cross-post from the Rails list in hopes of getting some > > information from people who know more about the Ruby side of things. > > > > I get compile errors from ERB in my Rails views when I load the ferret C > > extension. Apparently this also happens with RMagick. The most common > > response I've seen is to replace all tabs with spaces, and the problem > > will go away. I would like to know why that works, what the problem is, > > and if there's anything I can do to fix it. Making sure none of my views > > contain tab characters is not a solution I'm comfortable with for a > > production environment. This is what the errors look like: > > > > Just chiming in to say that I get these as well. I've just been > search-and-replacing tabs with spaces, rather than bothering to get to > the bottom of it. > I'd love to know what is causing this problem. I tried reproducing it here but I couldn't. Even installing an older version of the one-click installer didn't help. Ferret still ran fine and tabs didn't seem to do anything. What is is about tab characters anyway? Anyway, I'm still looking into it. I might try and get my hands on a few other systems to test on. Cheers, Dave