Skip to content

Instantly share code, notes, and snippets.

@jordanandree
Last active August 29, 2015 14:19
Show Gist options
  • Save jordanandree/0b71aae106e65a6fe19e to your computer and use it in GitHub Desktop.
Save jordanandree/0b71aae106e65a6fe19e to your computer and use it in GitHub Desktop.
tilt
NoMethodError: undefined method `force_encoding' for nil:NilClass
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/tilt-1.4.1/lib/tilt/template.rb:289:in `ensure in binary'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/tilt-1.4.1/lib/tilt/template.rb:289:in `binary'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/tilt-1.4.1/lib/tilt/template.rb:279:in `extract_magic_comment'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/tilt-1.4.1/lib/tilt/template.rb:275:in `extract_encoding'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/tilt-1.4.1/lib/tilt/template.rb:191:in `precompiled'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/tilt-1.4.1/lib/tilt/erb.rb:57:in `precompiled'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/tilt-1.4.1/lib/tilt/erb.rb:104:in `precompiled'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/tilt-1.4.1/lib/tilt/template.rb:245:in `compile_template_method'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/tilt-1.4.1/lib/tilt/template.rb:240:in `compiled_method'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/tilt-1.4.1/lib/tilt/template.rb:169:in `evaluate'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/core_extensions/rendering.rb:303:in `render_individual_file'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/core_extensions/rendering.rb:181:in `_render_with_all_renderers'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/core_extensions/rendering.rb:149:in `render_template'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/sitemap/resource.rb:127:in `block in render'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/util.rb:41:in `instrument'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/application.rb:219:in `instrument'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/sitemap/resource.rb:14:in `instrument'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/sitemap/resource.rb:100:in `render'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/core_extensions/request.rb:253:in `process_request'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/core_extensions/request.rb:203:in `block in call!'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/core_extensions/request.rb:202:in `catch'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/core_extensions/request.rb:202:in `call!'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/bundler/gems/middleman-eede4a8c5d98/middleman-core/lib/middleman-core/core_extensions/request.rb:188:in `call'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/rack-1.6.0/lib/rack/urlmap.rb:66:in `block in call'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/rack-1.6.0/lib/rack/urlmap.rb:50:in `each'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/rack-1.6.0/lib/rack/urlmap.rb:50:in `call'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/rack-1.6.0/lib/rack/showexceptions.rb:24:in `call'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/rack-1.6.0/lib/rack/head.rb:13:in `call'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/rack-1.6.0/lib/rack/lint.rb:49:in `_call'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/rack-1.6.0/lib/rack/lint.rb:37:in `call'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/rack-1.6.0/lib/rack/builder.rb:153:in `call'
/Users/jordanandree/.rvm/gems/ruby-2.2.0/gems/rack-1.6.0/lib/rack/handler/webrick.rb:89:in `service'
/Users/jordanandree/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
/Users/jordanandree/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
/Users/jordanandree/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment