Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when viewing the API documentation of methods on http://rubydoc.info #72

Open
hupf opened this issue May 7, 2014 · 0 comments

Comments

@hupf
Copy link

hupf commented May 7, 2014

When trying to view the documentation of a method on http://rubydoc.info/github/mbleigh/seed-fu/master/frames (e.g. "Methods" > "#initialize"), there is the following exception:

undefined method `gsub' for nil:NilClass
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/server/doc_server_helper.rb:43:in `url_for_frameset'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/server/templates/default/layout/html/script_setup.erb:9:in `_erb_cache_2'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/templates/template.rb:279:in `erb'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/templates/default/layout/html/headers.erb:13:in `_erb_cache_1'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/templates/template.rb:279:in `erb'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/templates/default/layout/html/layout.erb:7:in `_erb_cache_0'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/templates/template.rb:279:in `erb'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/templates/template.rb:357:in `render_section'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/templates/template.rb:251:in `block (2 levels) in run'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/templates/template.rb:248:in `each'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/templates/template.rb:248:in `block in run'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/templates/template.rb:386:in `add_options'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/templates/template.rb:247:in `run'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/templates/template.rb:135:in `run'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/templates/engine.rb:88:in `render'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/code_objects/base.rb:480:in `format'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/server/commands/base.rb:141:in `render'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/server/commands/display_object_command.rb:23:in `run'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/server/commands/base.rb:95:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/server/commands/library_command.rb:65:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/server/router.rb:135:in `route_docs'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/server/router.rb:110:in `route'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/server/router.rb:54:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/bundler/gems/yard-156ca2cfa9bf/lib/yard/server/rack_adapter.rb:51:in `call'
/home/app/rubydoc.info/app.rb:337:in `block in <class:DocServer>'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1540:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1540:in `block in compile!'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:950:in `[]'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:950:in `block (3 levels) in route!'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:966:in `route_eval'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:950:in `block (2 levels) in route!'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:987:in `block in process_route'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:985:in `catch'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:985:in `process_route'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:948:in `block in route!'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:947:in `each'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:947:in `route!'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1059:in `block in dispatch!'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:in `block in invoke'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:in `catch'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:in `invoke'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1056:in `dispatch!'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:882:in `block in call!'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:in `block in invoke'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:in `catch'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:in `invoke'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:882:in `call!'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:870:in `call'
/home/app/rubydoc.info/app.rb:25:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/rack-protection-1.5.0/lib/rack/protection/xss_header.rb:18:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/rack-protection-1.5.0/lib/rack/protection/path_traversal.rb:16:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/rack-protection-1.5.0/lib/rack/protection/json_csrf.rb:18:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/rack-protection-1.5.0/lib/rack/protection/base.rb:49:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/rack-protection-1.5.0/lib/rack/protection/base.rb:49:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/rack-protection-1.5.0/lib/rack/protection/frame_options.rb:31:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/logger.rb:15:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/puma-2.8.1/lib/puma/rack_patch.rb:13:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:212:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:205:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:175:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1949:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1449:in `block in call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1724:in `synchronize'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1724:in `synchronize'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1449:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/puma-2.8.1/lib/puma/configuration.rb:71:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/puma-2.8.1/lib/puma/server.rb:490:in `handle_request'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/puma-2.8.1/lib/puma/server.rb:361:in `process_client'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/puma-2.8.1/lib/puma/server.rb:254:in `block in run'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/puma-2.8.1/lib/puma/thread_pool.rb:92:in `call'
/home/app/rubydoc.info/vendor/bundle/ruby/2.1.0/gems/puma-2.8.1/lib/puma/thread_pool.rb:92:in `block in spawn_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant