我创建了一个Rails可安装应用程序,并添加了'mongoid‘和'rspec’gem。如果我现在试图运行我的规范,我会得到以下错误:Problem: Double check your mongoid.yml to make sure under the sessions key that a configuration(Rails.ro
我看了这篇关于rake命令的文章,但是不知道RAILS_ENV在哪里。在某个特定的文件里吗?db:create Creates the database for the current RAILS_ENV environment.If RAILS_ENV is not specified it defaults to the development and test databases.