Closed noraj closed 7 years ago
Looking at rake I have:
Processing by GamesController#show as HTML
Game Load (0.9ms) SELECT "games".* FROM "games" ORDER BY "games"."id" ASC LIMIT 1
Completed 404 Not Found in 23ms (ActiveRecord: 14.4ms)
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
app/controllers/application_controller.rb:29:in `load_game'
Rendered /home/noraj/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms)
Rendered /home/noraj/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /home/noraj/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.5ms)
Rendered /home/noraj/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (27.9ms)
You need to run bundle exec rake db:seed
to load some default data, the error is simply saying there is no game currently created, one is created when you load the default data though
Thank you. I have those warnings:
touch: cannot touch '/opt/keys/pwnies2': No such file or directory
touch: cannot touch '/opt/keys/nbs3': No such file or directory
Will this be a problem later? Do I need to configure something?
Those will not be a problem, that is part of our system for handling VPN connections for our competitors. That system has to be setup separately anyway so as long as you are not using that system you will have no problem.
@rbclark Ok I have access to the admin panel now. It should be good. I did some PR for the documentation. Thanks for your help.
I did these steps in this order:
gem install bundle
bundle install
bundle exec rails s
And opening the browser I have an error:
ActiveRecord::RecordNotFound in GamesController#show
.Extracted source (around line #29):
Full trace: