【问题标题】:Gollum-wiki error from start从一开始就出现 Gollum-wiki 错误
【发布时间】:2015-04-03 16:47:25
【问题描述】:

安装成功后
sudo gollum --port 80 并得到错误

 Gollum::InvalidGitRepositoryError at /
       Gollum::InvalidGitRepositoryError
         file: git_layer_grit.rb location: rescue in initialize line: 280
        BACKTRACE
        (expand)
        JUMP TO: GET POST COOKIES ENV
         /usr/lib/ruby/1.9.1/webrick/httpserver.rb in service
  si.service(req, res)
         /usr/lib/ruby/1.9.1/webrick/httpserver.rb in run
      server.service(req, res)
        /usr/lib/ruby/1.9.1/webrick/server.rb in block in start_thread
      block ? block.call(sock) : run(sock)

【问题讨论】:

    标签: ruby-on-rails gollum-wiki


    【解决方案1】:

    首先,您必须创建 git 存储库。

    $ git 初始化

    $ gollum --port 80

    祝你好运。

    【讨论】:

      【解决方案2】:

      试试

      gollum --port 80 --gollum-path /your/repo/directory

      或者从你的 git repo 中运行命令

      【讨论】:

        【解决方案3】:

        您需要将 git repo 指定为gollum 的参数,如下所示:

        gollum --port 80 /home/gollum/wiki

        见gollum --help。

        【讨论】:

          猜你喜欢
          • 2011-05-02
          • 1970-01-01
          • 2014-03-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2016-03-04
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多