社区引擎在我的 Mac 上本地安装得很好,但是当我尝试在我的网络服务器上安装它时,它给我带来了一些麻烦。这是我现在遇到的问题,当我跑步时rake test
$ [~/projects/polis]# rake test --trace
(in /home/mculp/projects/polis)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
** Invoke db:test:load (first_time)
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Invoke test:functionals (first_time)
** Invoke db:test:prepare
** Execute test:functionals
/usr/bin/ruby -I"/home/mculp/projects/polis/lib" -I"/home/mculp/projects/polis/test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb"
** Invoke test:integration (first_time)
** Invoke db:test:prepare
** Execute test:integration
/usr/bin/ruby -I"/home/mculp/projects/polis/lib" -I"/home/mculp/projects/polis/test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb"
Errors running test:units!
有任何想法吗?