ruby on rails - moved config/application.rb file -
i still learning ruby on rails. accidentally moved file config/application.rb config/locales directory.
then figured out , moved back, after did rails generate , rails console commands stopped working.
any advice?
rails versions 4 , later use spring speed development process loading application memory. way, commands rake db:migrate, rails new or command requires load whole rails before running speeded up. because, launched , in memory. spring updates changed files.
in case, ran rails new command in "broken" state, without application.rb file , application in memory. next time ran rails command running "broken" code.
so, running spring stop stop spring fixed problem.
Comments
Post a Comment