schacon/showoff

NoMethodError - undefined method `samples/footer-fixed.html'

Closed this issue · 0 comments

Apologies for my newness. AFAIK I've installed/upgraded all parts (ubuntu 11.04) and can run basic .md slides.

The problem is with iframes and included .html. I am trying to get a basic example that I borrowed to work.

NoMethodError - undefined method samples/footer-fixed.html' for #<ShowOff:0x0000000246ab20>: /home/libby/.rvm/gems/ruby-1.9.2-p318/gems/showoff-0.7.0/lib/showoff.rb:487:inblock in class:ShowOff'
/home/libby/.rvm/gems/ruby-1.9.2-p318/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in call' /home/libby/.rvm/gems/ruby-1.9.2-p318/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:inblock in compile!'
/home/libby/.rvm/gems/ruby-1.9.2-p318/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in []' /home/libby/.rvm/gems/ruby-1.9.2-p318/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:inblock (3 levels) in route!'
... and on and on

The file samples/footer-fixed.html is there and used in a slide with:

!SLIDE

<iframe class="phone" src="samples/footer-fixed.html"> </iframe>

It starts with this and I have been ignoring the Sinatra::Base#options warnings:

[2012-04-15 15:18:07] INFO WEBrick 1.3.1
[2012-04-15 15:18:07] INFO ruby 1.9.2 (2012-02-14) [x86_64-linux]
== Sinatra/1.3.2 has taken the stage on 9090 for development with backup from WEBrick
[2012-04-15 15:18:07] INFO WEBrick::HTTPServer#start: pid=21179 port=9090
Sinatra::Base#options is deprecated and will be removed, use #settings instead.

Thanks in advance if you can help. I'd love to do my presentation with this tool.