【发布时间】:2020-01-03 13:24:03
【问题描述】:
我刚刚创建了一个新的 Rails 6 应用程序。一切都很顺利,直到我尝试使用 rails s 启动本地服务器,并收到以下错误消息:
RAILS_ENV=development environment is not defined in config/webpacker.yml, falling back to production environment
Exiting
和
Webpacker configuration file not found /Users/remy/dev/voter/config/webpacker.yml. Please run rails webpacker:install Error: No such file or directory @ rb_sysopen - /Users/remy/dev/voter/config/webpacker.yml (RuntimeError)
但是当我运行rails webpacker:install 时,我仍然有错误。
【问题讨论】:
标签: ruby-on-rails webpacker ruby-on-rails-6