我刚刚在我的本地机器上安装了 Rails3 Bootstrap Device Cancan 并运行了rake spec
,但我遇到了所有测试失败,并出现以下常见错误:
undefined local variable or method 'postgresql_version' for #<ActiveRecord::ConnectionAdaptors::SQLite3Adaptor:0x489dff8>
我不知道为什么我会得到这个,因为我https://github.com/RailsApps/rails3-bootstrap-devise-cancan
仔细按照说明进行操作。
我目前在 Windows 8 上运行它并使用 Bitnami RubyStack 运行 CMD