Started GET "/" for 127.0.0.1 at 2018-05-16 04:00:05 -0400 ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rails db:migrate RAILS_ENV=development ): activerecord (5.1.6) lib/active_record/migration.rb:576:in `check_pending!' activerecord (5.1.6) lib/active_record/migration.rb:553:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.4) lib/rack/method_override.rb:22:in `call' rack (2.0.4) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.4) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.3) lib/puma/configuration.rb:225:in `call' puma (3.11.3) lib/puma/server.rb:624:in `handle_request' puma (3.11.3) lib/puma/server.rb:438:in `process_client' puma (3.11.3) lib/puma/server.rb:302:in `block in run' puma (3.11.3) lib/puma/thread_pool.rb:120:in `block in spawn_thread'  (0.5ms) SELECT sqlite_version(*)  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to CreatePolicyManagerTerms (20180326193825)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "policy_manager_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "rule" varchar, "state" varchar, "accepted_at" datetime, "rejected_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180326193825"]]  (0.8ms) commit transaction Migrating to CreateUsers (20180326193826)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180326193826"]]  (0.8ms) commit transaction Migrating to CreatePolicyManagerUserTerms (20180326193827)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "policy_manager_user_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "term_id" integer, "state" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_policy_manager_user_terms_on_user_id" ON "policy_manager_user_terms" ("user_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_policy_manager_user_terms_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_policy_manager_user_terms_on_user_id' AND type='index'   (0.1ms) CREATE INDEX "index_policy_manager_user_terms_on_term_id" ON "policy_manager_user_terms" ("term_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_policy_manager_user_terms_on_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_policy_manager_user_terms_on_term_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_policy_manager_user_terms_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_policy_manager_user_terms_on_user_id' AND type='index'   (0.1ms) CREATE INDEX "index_policy_manager_user_terms_on_state" ON "policy_manager_user_terms" ("state") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180326193827"]]  (0.9ms) commit transaction Migrating to CreatePolicyManagerPortabilityRequests (20180410171354)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "policy_manager_portability_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "state" varchar, "attachment" varchar, "attachment_file_name" varchar, "attachment_file_size" varchar, "attachment_content_type" datetime, "attachment_file_content_type" varchar, "expire_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_policy_manager_portability_requests_on_user_id" ON "policy_manager_portability_requests" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180410171354"]]  (0.8ms) commit transaction ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2018-05-16 08:00:20.468844"], ["updated_at", "2018-05-16 08:00:20.468844"]]  (0.7ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_policy_manager_portability_requests_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_policy_manager_portability_requests_on_user_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_policy_manager_user_terms_on_state' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_policy_manager_user_terms_on_state' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_policy_manager_user_terms_on_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_policy_manager_user_terms_on_term_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_policy_manager_user_terms_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_policy_manager_user_terms_on_user_id' AND type='index'  Started GET "/" for 127.0.0.1 at 2018-05-16 04:00:31 -0400  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Processing by Rails::WelcomeController#index as HTML Rendering /Users/michelson/.rvm/gems/ruby-2.3.1/gems/railties-5.1.6/lib/rails/templates/rails/welcome/index.html.erb Rendered /Users/michelson/.rvm/gems/ruby-2.3.1/gems/railties-5.1.6/lib/rails/templates/rails/welcome/index.html.erb (9.7ms) Completed 200 OK in 30ms (Views: 22.2ms | ActiveRecord: 0.0ms) Started GET "/terms" for 127.0.0.1 at 2018-05-16 04:00:36 -0400 Processing by PolicyManager::CategoriesController#index as HTML Completed 500 Internal Server Error in 105ms (ActiveRecord: 0.0ms) NoMethodError (super: no superclass method `current_user' for #): /Users/michelson/Documents/rubyonrails/prey-control-panel/vendor/engines/terms/app/controllers/policy_manager/application_controller.rb:26:in `current_user' /Users/michelson/Documents/rubyonrails/prey-control-panel/vendor/engines/terms/app/controllers/policy_manager/application_controller.rb:16:in `user_authenticated?' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in ' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' railties (5.1.6) lib/rails/railtie.rb:185:in `public_send' railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing' actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' rack (2.0.4) lib/rack/etag.rb:25:in `call' rack (2.0.4) lib/rack/conditional_get.rb:25:in `call' rack (2.0.4) lib/rack/head.rb:12:in `call' rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.4) lib/rack/method_override.rb:22:in `call' rack (2.0.4) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.4) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.3) lib/puma/configuration.rb:225:in `call' puma (3.11.3) lib/puma/server.rb:624:in `handle_request' puma (3.11.3) lib/puma/server.rb:438:in `process_client' puma (3.11.3) lib/puma/server.rb:302:in `block in run' puma (3.11.3) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET "/terms" for 127.0.0.1 at 2018-05-16 04:02:09 -0400 Processing by PolicyManager::CategoriesController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 137ms (ActiveRecord: 1.9ms) ActionView::MissingTemplate (Missing template /401.erb with {:locale=>[:en], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :haml, :jbuilder]}. Searched in: * "/Users/michelson/Documents/rubyonrails/prey-control-panel/vendor/engines/terms/spec/dummy/app/views" * "/Users/michelson/Documents/rubyonrails/prey-control-panel/vendor/engines/terms/app/views" * "/Users/michelson/Documents/rubyonrails/prey-control-panel/vendor/engines/terms/spec/dummy" * "/" ): actionview (5.1.6) lib/action_view/path_set.rb:50:in `find_file' actionview (5.1.6) lib/action_view/lookup_context.rb:121:in `find_file' actionview (5.1.6) lib/action_view/renderer/abstract_renderer.rb:18:in `find_file' actionview (5.1.6) lib/action_view/renderer/template_renderer.rb:30:in `block in determine_template' actionview (5.1.6) lib/action_view/lookup_context.rb:147:in `with_fallbacks' actionview (5.1.6) lib/action_view/renderer/abstract_renderer.rb:18:in `with_fallbacks' actionview (5.1.6) lib/action_view/renderer/template_renderer.rb:30:in `determine_template' actionview (5.1.6) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (5.1.6) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (5.1.6) lib/action_view/renderer/renderer.rb:23:in `render' actionview (5.1.6) lib/action_view/rendering.rb:103:in `_render_template' actionpack (5.1.6) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (5.1.6) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (5.1.6) lib/action_controller/metal/rendering.rb:52:in `render_to_body' actionpack (5.1.6) lib/action_controller/metal/renderers.rb:141:in `render_to_body' actionpack (5.1.6) lib/abstract_controller/rendering.rb:24:in `render' actionpack (5.1.6) lib/action_controller/metal/rendering.rb:36:in `render' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (5.1.6) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/michelson/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' activesupport (5.1.6) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:29:in `cleanup_view_runtime' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:43:in `render' /Users/michelson/Documents/rubyonrails/prey-control-panel/vendor/engines/terms/app/controllers/policy_manager/application_controller.rb:17:in `user_authenticated?' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in ' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' railties (5.1.6) lib/rails/railtie.rb:185:in `public_send' railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing' actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' rack (2.0.4) lib/rack/etag.rb:25:in `call' rack (2.0.4) lib/rack/conditional_get.rb:25:in `call' rack (2.0.4) lib/rack/head.rb:12:in `call' rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.4) lib/rack/method_override.rb:22:in `call' rack (2.0.4) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.4) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.3) lib/puma/configuration.rb:225:in `call' puma (3.11.3) lib/puma/server.rb:624:in `handle_request' puma (3.11.3) lib/puma/server.rb:438:in `process_client' puma (3.11.3) lib/puma/server.rb:302:in `block in run' puma (3.11.3) lib/puma/thread_pool.rb:120:in `block in spawn_thread'