[Nitro] flare and fcgi

Michael Fellinger m.fellinger at gmail.com
Tue Nov 1 11:40:17 EST 2005


hey List,

i just tried flare now on fcgi (lighttpd) and keep getting some nasty 
errors...

(nothing changed to the code)

the fix for the following would be a line like:
allow_comments = ((val == "on" or val == "true") ? true : val.to_i > 0)
but i can't even figure out where it is... so i guess this is created on the 
fly and changed from 0.22 (where i think flare is from)...

could someone please investigate this?

manver...


/usr/lib/ruby/gems/1.8/gems/glue-0.24.0/lib/glue/property.rb:172:in 
`module_eval': (eval):9:in `module_eval': compile error (SyntaxError)
(eval):3: syntax error, unexpected ')', expecting kTHEN or ':' or '\n' or ';'
        self.allow_comments=(if (val == "on" or val == "true") ? true : 
val.to_i > 0)
                                                                                     
^
(eval):9: syntax error, unexpected $end, expecting ')'  
from /usr/lib/ruby/gems/1.8/gems/glue-0.24.0/lib/glue/property.rb:172:in 
`eval_helpers'
        from (eval):27:in `property'
        from (eval):21:in `property'
        from ./src/model.rb:58
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in 
`require'
        from /var/www/flare/public/../run.rb:9
        from /var/www/flare/public/fcgi.rb:6
/usr/lib/ruby/gems/1.8/gems/glue-0.24.0/lib/glue/property.rb:172:in 
`module_eval': (eval):9:in `module_eval': compile error (SyntaxError)
(eval):3: syntax error, unexpected ')', expecting kTHEN or ':' or '\n' or ';'
        self.allow_comments=(if (val == "on" or val == "true") ? true : 
val.to_i > 0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20051101/86ca146d/attachment.bin 


More information about the Nitro-general mailing list