Homeland 运行 rake spec 报错

zlx_star · 2012年06月29日 · 2148 次阅读

我 clone 出一份 ruby-china 的代码,按照 README 运行命令一切 OK。包括 rails s 也成功启动了。 但是当我执行rake spec时,报错了:

.FFFF.FFF.F.F..FF...........F.......FMarkdownTopicConverter.format ERROR: undefined method 'Py_IsInitialized' for RubyPython::Python:Module
FMarkdownTopicConverter.format ERROR: undefined method 'Py_IsInitialized' for RubyPython::Python:Module
Fruby: markdown.c:2426: sd_markdown_render: Assertion 'md->work_bufs[0].size == 0' failed.

执行 bundle exec rspec spec 也一样报错

我安装了 rubypython

$ gem list | grep python
rubypython (0.5.3)

我的环境

$ ruby -v
ruby 1.9.2p318 (2012-02-14 revision 34678) [i686-linux]

$ rails -v
Rails 3.2.6

$ mongo --version
MongoDB shell version: 2.0.6

$ redis-cli -v
redis-cli 2.4.10

请各位帮忙分析分析,是不是我少安装了什么东西?

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请 注册新账号