我正在使用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.