【发布时间】:2013-08-04 16:43:56
【问题描述】:
我刚刚在我的本地机器上安装了 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
【问题讨论】:
标签: ruby-on-rails devise cancan bitnami railsapps