我遇到错误,未定义的方法`assests'
无法启动Web应用程序
undefined method `assests' for #<Rails::Application::Configuration:0x000000035c8f70> (NoMethodError)
/home/vakad/.rvm/gems/ruby-1.9.3-p551/gems/railties-3.2.13/lib/rails/railtie/configuration.rb:85:in `method_missing'
/var/www/html/ucsfihglims/config/application.rb:65:in `<class:Application>'
/var/www/html/ucsfihglims/config/application.rb:13:in `<module:SeqLIMS>'
/var/www/html/ucsfihglims/config/application.rb:12:in `<top (required)>'
/var/www/html/ucsfihglims/config/environment.rb:2:in `require'
/var/www/html/ucsfihglims/config/environment.rb:2:in `<top (required)>'
config.ru:3:in `require'
config.ru:3:in `block in <main>'
/home/vakad/.rvm/gems/ruby-1.9.3-p551/gems/rack-1.4.7/lib/rack/builder.rb:51:in `instance_eval'
/home/vakad/.rvm/gems/ruby-1.9.3-p551/gems/rack-1.4.7/lib/rack/builder.rb:51:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/home/vakad/.rvm/gems/ruby-1.9.3-p551/gems/passenger-5.0.26/src/helper-scripts/rack-preloader.rb:110:in `eval'
/home/vakad/.rvm/gems/ruby-1.9.3-p551/gems/passenger-5.0.26/src/helper-scripts/rack-preloader.rb:110:in `preload_app'
/home/vakad/.rvm/gems/ruby-1.9.3-p551/gems/passenger-5.0.26/src/helper-scripts/rack-preloader.rb:156:in `<module:App>'
/home/vakad/.rvm/gems/ruby-1.9.3-p551/gems/passenger-5.0.26/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
/home/vakad/.rvm/gems/ruby-1.9.3-p551/gems/passenger-5.0.26/src/helper-scripts/rack-preloader.rb:29:in `<main>'
Error ID
09a5af91
答案 0 :(得分:0)
在项目文件夹中找到关键字assests
,并替换为assets
。