【发布时间】:2013-08-21 06:53:38
【问题描述】:
我正在使用 Rails 4.0。
我正在尝试使用以下命令创建一个 rspec 文件
$ rails generate rspec static_pages
但是这个命令不起作用,它显示下面的错误
DEPRECATION WARNING: config.whiny_nils option is deprecated and no longer works. (called from block in <top (required)> at /home/shruthi/Projects/samples/tutorials/config/environments/development.rb:10)
config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:
* development - set it to false
* test - set it to false (unless you use a tool that preloads your test environment)
* production - set it to true
Could not find generator rspec.
【问题讨论】:
标签: ruby-on-rails rspec generator