mardi 1 août 2017

failed to open rails server

hey guys i got a problem while tried to open my rails server:

/var/lib/gems/2.3.0/gems/actionpack-5.1.2/lib/action_dispatch/middleware/session/abstract_store.rb:78:in <module:Session>': uninitialized constant Rack::Session::Abstract::Persisted (NameError) from /var/lib/gems/2.3.0/gems/actionpack-5.1.2/lib/action_dispatch/middleware/session/abstract_store.rb:8:in' from /var/lib/gems/2.3.0/gems/actionpack-5.1.2/lib/action_dispatch/middleware/session/abstract_store.rb:7:in <top (required)>' from /var/lib/gems/2.3.0/gems/actionpack-5.1.2/lib/action_dispatch/middleware/session/cookie_store.rb:2:in' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/application/configuration.rb:180:in const_get' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/application/configuration.rb:180:insession_store' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/application/default_middleware_stack.rb:56:in block in build_stack' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/application/default_middleware_stack.rb:13:intap' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/application/default_middleware_stack.rb:13:in build_stack' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/application.rb:501:indefault_middleware_stack' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/engine.rb:506:in block in app' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/engine.rb:504:insynchronize' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/engine.rb:504:in app' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/application/finisher.rb:45:inblock in ' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/initializable.rb:30:in instance_exec' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/initializable.rb:30:inrun' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/initializable.rb:59:in block in run_initializers' from /usr/lib/ruby/2.3.0/tsort.rb:228:inblock in tsort_each' from /usr/lib/ruby/2.3.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' from /usr/lib/ruby/2.3.0/tsort.rb:431:ineach_strongly_connected_component_from' from /usr/lib/ruby/2.3.0/tsort.rb:349:in block in each_strongly_connected_component' from /usr/lib/ruby/2.3.0/tsort.rb:347:ineach' from /usr/lib/ruby/2.3.0/tsort.rb:347:in call' from /usr/lib/ruby/2.3.0/tsort.rb:347:ineach_strongly_connected_component' from /usr/lib/ruby/2.3.0/tsort.rb:226:in tsort_each' from /usr/lib/ruby/2.3.0/tsort.rb:205:intsort_each' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/initializable.rb:58:in run_initializers' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/application.rb:353:ininitialize!' from /home/luyear/RubymineProjects/pagina/config/environment.rb:5:in <top (required)>' from config.ru:3:inrequire_relative' from config.ru:3:in block in <main>' from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:ininstance_eval' from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in initialize' from config.ru:innew' from config.ru:in <main>' from /usr/lib/ruby/vendor_ruby/rack/builder.rb:49:ineval' from /usr/lib/ruby/vendor_ruby/rack/builder.rb:49:in new_from_string' from /usr/lib/ruby/vendor_ruby/rack/builder.rb:40:inparse_file' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:319:in build_app_and_options_from_config' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:219:inapp' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/commands/server/server_command.rb:24:in app' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:354:inwrapped_app' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/commands/server/server_command.rb:80:in log_to_stdout' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/commands/server/server_command.rb:42:instart' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/commands/server/server_command.rb:131:in block in perform' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/commands/server/server_command.rb:126:intap' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/commands/server/server_command.rb:126:in perform' from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/command.rb:27:inrun' from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in invoke_command' from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor.rb:369:indispatch' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/command/base.rb:63:in perform' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/command.rb:44:ininvoke' from /var/lib/gems/2.3.0/gems/railties-5.1.2/lib/rails/commands.rb:16:in <top (required)>' from bin/rails:4:inrequire' from bin/rails:4:in `'

Aucun commentaire:

Enregistrer un commentaire