Problema con el inicio del servidor


#1

Hola, estoy haciendo mi primera aplicación en ruby on rails.
Lamentablemente, tratando de usar la gema devise para lograr el login y
la autenticación de usuarios, me surgió un problema y ahora no puedo
iniciar el servidor.

Al iniciar mi servidor con ‘rails s’, aparece un código más o menos como
este:

nburgos@nburgos-RED:~/RubymineProjects/Futbol/Alquiler$ rails s
=> Booting WEBrick
=> Rails 4.1.4 application starting in development on
http://0.0.0.0:3000
=> Run rails server -h for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider
using 127.0.0.1 (–binding option)
=> Ctrl-C to shutdown server
Exiting
/usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/inflector/methods.rb:238:in
const_get': uninitialized constant User (NameError) from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/inflector/methods.rb:238:inblock in constantize’
from
/usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/inflector/methods.rb:236:in
each' from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/inflector/methods.rb:236:ininject’
from
/usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/inflector/methods.rb:236:in
constantize' from /usr/local/lib/ruby/gems/2.1.0/gems/devise-3.3.0/lib/devise.rb:301:inget’
from
/usr/local/lib/ruby/gems/2.1.0/gems/devise-3.3.0/lib/devise/mapping.rb:80:in
to' from /usr/local/lib/ruby/gems/2.1.0/gems/devise-3.3.0/lib/devise/mapping.rb:75:inmodules’
from
/usr/local/lib/ruby/gems/2.1.0/gems/devise-3.3.0/lib/devise/mapping.rb:92:in
routes' from /usr/local/lib/ruby/gems/2.1.0/gems/devise-3.3.0/lib/devise/mapping.rb:159:indefault_used_route’
from
/usr/local/lib/ruby/gems/2.1.0/gems/devise-3.3.0/lib/devise/mapping.rb:69:in
initialize' from /usr/local/lib/ruby/gems/2.1.0/gems/devise-3.3.0/lib/devise.rb:335:innew’
from
/usr/local/lib/ruby/gems/2.1.0/gems/devise-3.3.0/lib/devise.rb:335:in
add_mapping' from /usr/local/lib/ruby/gems/2.1.0/gems/devise-3.3.0/lib/devise/rails/routes.rb:224:inblock in devise_for’
from
/usr/local/lib/ruby/gems/2.1.0/gems/devise-3.3.0/lib/devise/rails/routes.rb:223:in
each' from /usr/local/lib/ruby/gems/2.1.0/gems/devise-3.3.0/lib/devise/rails/routes.rb:223:indevise_for’
from
/home/nburgos/RubymineProjects/Futbol/Alquiler/config/routes.rb:2:in
block in <top (required)>' from /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.1.4/lib/action_dispatch/routing/route_set.rb:337:ininstance_exec’
from
/usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.1.4/lib/action_dispatch/routing/route_set.rb:337:in
eval_block' from /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.1.4/lib/action_dispatch/routing/route_set.rb:315:indraw’
from
/home/nburgos/RubymineProjects/Futbol/Alquiler/config/routes.rb:1:in
<top (required)>' from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb:40:inblock in load_paths’
from
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb:40:in
each' from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb:40:inload_paths’
from
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb:16:in
reload!' from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb:26:inblock in updater’
from
/usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/file_update_checker.rb:75:in
call' from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/file_update_checker.rb:75:inexecute’
from
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb:27:in
updater' from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb:7:inexecute_if_updated’
from
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/application/finisher.rb:71:in
block in <module:Finisher>' from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/initializable.rb:30:ininstance_exec’
from
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/initializable.rb:30:in
run' from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/initializable.rb:55:inblock in run_initializers’
from /usr/local/lib/ruby/2.1.0/tsort.rb:226:in block in tsort_each' from /usr/local/lib/ruby/2.1.0/tsort.rb:348:inblock (2 levels) in
each_strongly_connected_component’
from /usr/local/lib/ruby/2.1.0/tsort.rb:427:in
each_strongly_connected_component_from' from /usr/local/lib/ruby/2.1.0/tsort.rb:347:inblock in
each_strongly_connected_component’
from /usr/local/lib/ruby/2.1.0/tsort.rb:345:in each' from /usr/local/lib/ruby/2.1.0/tsort.rb:345:incall’
from /usr/local/lib/ruby/2.1.0/tsort.rb:345:in
each_strongly_connected_component' from /usr/local/lib/ruby/2.1.0/tsort.rb:224:intsort_each’
from /usr/local/lib/ruby/2.1.0/tsort.rb:205:in tsort_each' from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/initializable.rb:54:inrun_initializers’
from
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/application.rb:300:in
initialize!' from /home/nburgos/RubymineProjects/Futbol/Alquiler/config/environment.rb:5:in<top (required)>’
from /home/nburgos/RubymineProjects/Futbol/Alquiler/config.ru:3:in
block in <main>' from /usr/local/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:55:ininstance_eval’
from
/usr/local/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in
initialize' from /home/nburgos/RubymineProjects/Futbol/Alquiler/config.ru:innew’
from /home/nburgos/RubymineProjects/Futbol/Alquiler/config.ru:in
<main>' from /usr/local/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:49:ineval’
from
/usr/local/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in
new_from_string' from /usr/local/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:40:inparse_file’
from
/usr/local/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:277:in
build_app_and_options_from_config' from /usr/local/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:199:inapp’
from
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands/server.rb:50:in
app' from /usr/local/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:314:inwrapped_app’
from
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands/server.rb:130:in
log_to_stdout' from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands/server.rb:67:instart’
from
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:81:in
block in server' from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:intap’
from
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in
server' from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:40:inrun_command!’
from
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands.rb:17:in
<top (required)>' from /home/nburgos/RubymineProjects/Futbol/Alquiler/bin/rails:8:inrequire’
from /home/nburgos/RubymineProjects/Futbol/Alquiler/bin/rails:8:in
<top (required)>' from /usr/local/lib/ruby/gems/2.1.0/gems/spring-1.1.3/lib/spring/client/rails.rb:27:inload’
from
/usr/local/lib/ruby/gems/2.1.0/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in
call' from /usr/local/lib/ruby/gems/2.1.0/gems/spring-1.1.3/lib/spring/client/command.rb:7:incall’
from
/usr/local/lib/ruby/gems/2.1.0/gems/spring-1.1.3/lib/spring/client.rb:26:in
run' from /usr/local/lib/ruby/gems/2.1.0/gems/spring-1.1.3/bin/spring:48:in<top (required)>’
from
/usr/local/lib/ruby/gems/2.1.0/gems/spring-1.1.3/lib/spring/binstub.rb:11:in
load' from /usr/local/lib/ruby/gems/2.1.0/gems/spring-1.1.3/lib/spring/binstub.rb:11:in<top (required)>’
from
/usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire’
from /home/nburgos/RubymineProjects/Futbol/Alquiler/bin/spring:16:in
<top (required)>' from bin/rails:3:inload’
from bin/rails:3:in `’

Ayuda por favor!!