我在Rails 3.2和Spree 1.1上。当运行初始rake test_app --trace
我得到:当使用Spree 1.1.0运行`rake test_app`时,'系统找不到指定的路径'
** Invoke test_app (first_time)
** Execute test_app
** Invoke common:test_app (first_time)
** Execute common:test_app
Generating dummy Rails application...
Setting up dummy database...
The system cannot find the path specified.
我从spree\core
运行rake test_app
。据我所知,spree\core\lib\generators\spree\dummy\templates\rails\database.yml
,施普雷正在寻找db\spree_test.sqlite3
。我尝试手动创建这个数据库,但没有运气。
此外,我在Windows 7上,如果这是有帮助的,因为它可能是某种环境设置。
请告诉我们你用得到这一点的步骤。我们很难调试这个问题,因为我们不知道你在哪里运行'rake test_app'。 – 2012-04-15 14:36:04
同样的错误,从本教程开始:http://guides.spreecommerce.com/creating_extensions.html – Dmitry 2012-07-05 16:26:45