小编Mar*_*del的帖子

Gollum Wiki - 用于Redcarpet的未定义方法`new':模块

我正在尝试使用Gollumn Wiki,所以我可以编辑我的GitHub Wiki,但我似乎无法让它工作.

我在Ubuntu 11.10,64位上.

我也尝试过使用Ruby 1.9,也是同样的错误.

我为我的项目克隆了我的GitHub Wiki git存储库,启动了Gollum,这是我收到的错误:

Redcarpet
:Module的/ undefined方法`new'的NoMethodError

完整的堆栈跟踪是:

:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /var/lib/gems/1.8/gems/gollum-1.3.1/bin/../lib/gollum/frontend/app.rb:17
[2011-12-06 15:20:15] INFO  WEBrick 1.3.1
[2011-12-06 15:20:15] INFO  ruby 1.8.7 (2011-06-30) [x86_64-linux]
== Sinatra/1.3.1 has taken the stage on 4567 for development with backup from WEBrick
[2011-12-06 15:20:20] INFO  WEBrick::HTTPServer#start: pid=22017 port=4567 
NoMethodError - undefined method `new' for Redcarpet:Module:
/var/lib/gems/1.8/gems/gollum-1.3.1/lib/gollum/markup.rb:463:in `render'
/var/lib/gems/1.8/gems/gollum-1.3.1/lib/gollum/page.rb:171:in `formatted_data'
/var/lib/gems/1.8/gems/gollum-1.3.1/bin/../lib/gollum/frontend/app.rb:190:in `show_page_or_file'
/var/lib/gems/1.8/gems/gollum-1.3.1/bin/../lib/gollum/frontend/app.rb:42:in `GET /' …
Run Code Online (Sandbox Code Playgroud)

github gollum-wiki

28
推荐指数
2
解决办法
5560
查看次数

Neo4j - 关系方向会影响密码性能吗?

我一直很好奇的东西.

(假设你可以神奇地翻转neo4j中的关系方向)

哪个会更快?

START a=node(345)
MATCH (a)<-[:foo]-(b)<-[:bar]-(c)
RETURN c
Run Code Online (Sandbox Code Playgroud)

要么

START a=node(345)
MATCH (a)-[:foo]->(b)-[:bar]->(c)
RETURN c
Run Code Online (Sandbox Code Playgroud)

或者无关紧要,在引擎盖下,你可以向任何一个方向移动?

neo4j cypher

4
推荐指数
1
解决办法
436
查看次数

标签 统计

cypher ×1

github ×1

gollum-wiki ×1

neo4j ×1