4
Ich habe ein seltsames Problem. Ich habe gerade ein Rails-Projekt auf einem Remote-Server konfiguriert. Aber gleich nachdem ich laufe ‚Schienen-Server‘ Befehl, den ich diesen Fehler:Rails-Server wird unmittelbar nach dem Start beendet <Undefinierte Methode>
[pediatric-nutri]# rails server
=> Booting WEBrick
=> Rails 4.1.16 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
/home/lookwhat/rails_apps/pediatric-nutri/app/controllers/application_controller.rb:5:in `<class:ApplicationController>': undefined method `decent_configuration' for ApplicationController:Class (NoMethodError)
from /home/lookwhat/rails_apps/pediatric-nutri/app/controllers/application_controller.rb:1:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.1.16/lib/active_support/dependencies.rb:443:in `load'
Haben Sie die Methode 'decent_configuration' in' application_controller.rb'? –
Ja. Dieselbe Kopie von Code, die auf local arbeitet. –