sorry, my bad, here's the exception: You have a nil object when you didn't expect it! The error occurred while evaluating nil.rstrip
/Users/bmctigue/rails/tiguer/vendor/plugins/stable/lib/haml/engine.rb: 218:in `do_precompile' /Users/bmctigue/rails/tiguer/vendor/plugins/stable/lib/haml/engine.rb: 167:in `each_with_index' /Users/bmctigue/rails/tiguer/vendor/plugins/stable/lib/haml/engine.rb: 214:in `each_line' /Users/bmctigue/rails/tiguer/vendor/plugins/stable/lib/haml/engine.rb: 214:in `each_with_index' /Users/bmctigue/rails/tiguer/vendor/plugins/stable/lib/haml/engine.rb: 214:in `do_precompile' /Users/bmctigue/rails/tiguer/vendor/plugins/stable/lib/haml/engine.rb: 167:in `initialize' /Users/bmctigue/rails/tiguer/vendor/plugins/stable/lib/haml/ template.rb:67:in `new' /Users/bmctigue/rails/tiguer/vendor/plugins/stable/lib/haml/ template.rb:67:in `render' /Users/bmctigue/jruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_view/base.rb:416:in `delegate_render' /Users/bmctigue/jruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_view/base.rb:299:in `render_template' /Users/bmctigue/rails/tiguer/vendor/plugins/stable/lib/haml/ template.rb:121:in `render_template' /Users/bmctigue/jruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_view/base.rb:260:in `render_file' /Users/bmctigue/jruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_controller/layout.rb:254:in `render_with_a_layout' /Users/bmctigue/jruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_controller/benchmarking.rb:49:in `render_with_benchmark' (eval):0:in `measure' (eval):0:in `index' app/controllers/users_controller.rb:8:in `index' On May 22, 9:03 am, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote: > What exception is it throwing? > > - Nathan > > bmctigue wrote: > > Hi Everyone, > > > I'm new to the group. I did just try haml withjrubyand it's throwing > > an exception at line 219 of engine.rb. I thought I would start with > > this group rather than going to thejrubyguys. I am very interested > > in using haml withjruby, so it would be great if we could get this > > working. Any thoughts? > > > - Bruce > > > On May 3, 11:34 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote: > > >> That certainly would be easier. I'd still like to see a JS > >> implementation of Haml, but since that's going to have to wait anyway, > >> this would be a good substitute. I've never tried running Haml onJRuby, > >> though... I can't see why it would screw up, but has anyone tried it? > > >> - Nathan > > >> weepy wrote: > > >>> I know we've talked about converting HAML to javascript, but perhaps > >>> this could be an easier route : > > >>>http://ruby-in-browser.googlecode.com/svn/trunk/evalruby/index.html > > >>> it takes a Java applet runningJRuby. Obviously this is a hefty > >>> download (2mb i think), but since it's for developers only i don't > >>> think it's a problem. > > >>> Thoughts ? > > >>> weepy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
