So I'm on Haml 2.0.9 and SM 0.10.1, and haml appears to work - HTML
pages are being generated and life is good.
The only problem is my pages have no css style (a Sass issue?)
Here is the error I am dealing with - any help would be appreciated:
Thu Mar 19 02:11:26 +0100 2009: Read error: #<NoMethodError: private
method `gsub' called for nil:NilClass>
(haml):13:in `render'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.0.9/lib/haml/engine.rb:149:in
`render'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.0.9/lib/haml/engine.rb:149:in
`instance_eval'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.0.9/lib/haml/engine.rb:149:in
`render'
/usr/local/lib/ruby/gems/1.8/gems/staticmatic-0.10.1/bin/../lib/
staticmatic/mixins/render.rb:98:in
`generate_html_from_template_source'
/usr/local/lib/ruby/gems/1.8/gems/staticmatic-0.10.1/bin/../lib/
staticmatic/mixins/rescue.rb:10:in `render_rescue_from_error'
/usr/local/lib/ruby/gems/1.8/gems/staticmatic-0.10.1/bin/../lib/
staticmatic/mixins/render.rb:83:in `generate_css'
/usr/local/lib/ruby/gems/1.8/gems/staticmatic-0.10.1/bin/../lib/
staticmatic/server.rb:32:in `process'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/
http_response.rb:65:in `start'
/usr/local/lib/ruby/gems/1.8/gems/staticmatic-0.10.1/bin/../lib/
staticmatic/server.rb:24:in `process'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
`process_client'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`each'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`process_client'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`initialize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`new'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`initialize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`new'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/
configurator.rb:282:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/
configurator.rb:281:in `each'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/
configurator.rb:281:in `run'
/usr/local/lib/ruby/gems/1.8/gems/staticmatic-0.10.1/bin/../lib/
staticmatic/server.rb:88:in `cloaker_'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/
configurator.rb:50:in `call'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/
configurator.rb:50:in `initialize'
/usr/local/lib/ruby/gems/1.8/gems/staticmatic-0.10.1/bin/../lib/
staticmatic/server.rb:82:in `new'
/usr/local/lib/ruby/gems/1.8/gems/staticmatic-0.10.1/bin/../lib/
staticmatic/server.rb:82:in `start'
/usr/local/lib/ruby/gems/1.8/gems/staticmatic-0.10.1/bin/../lib/
staticmatic/mixins/server.rb:4:in `preview'
/usr/local/lib/ruby/gems/1.8/gems/staticmatic-0.10.1/bin/../lib/
staticmatic/base.rb:58:in `send'
/usr/local/lib/ruby/gems/1.8/gems/staticmatic-0.10.1/bin/../lib/
staticmatic/base.rb:58:in `run'
/usr/local/lib/ruby/gems/1.8/gems/staticmatic-0.10.1/bin/staticmatic:
23
/usr/local/bin/staticmatic:19:in `load'
/usr/local/bin/staticmatic:19
argh :(