0

社区引擎在我的 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!

有任何想法吗?

4

1 回答 1

1

看起来您的粘贴可能会被截断,我没有看到回溯。

您应该做的第一件事是将您的本地gem list计算机与您的服务器计算机进行比较,看看是否有任何突出的东西。特别是查看社区引擎的 gem 依赖项的版本(desert、rmagick、hpricot 等)。

您也可以尝试使用我们在生产中使用的社区引擎边缘分支。见http://github.com/bborn/communityengine/tree/edge

让我知道事情的后续。

于 2009-12-10T00:20:11.497 回答