V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
thirtiseven
V2EX  ›  macOS

有人在 10.11 上用 octopress 写博客么。遇到了困难。

  •  
  •   thirtiseven · 2015-10-25 17:32:29 +08:00 · 2282 次点击
    这是一个创建于 3078 天前的主题,其中的信息可能已经有所发展或是发生改变。

    升了系统之后第一次写博客。。然后 generate 的时候长这样

    sudo rake generate
    Password:
    Ignoring RedCloth-4.2.9 because its extensions are not built.  Try: gem pristine RedCloth --version 4.2.9
    ## Generating Site with Jekyll
    

    preview 的时候长这样

    Ignoring RedCloth-4.2.9 because its extensions are not built.  Try: gem pristine RedCloth --version 4.2.9
    Starting to watch source with Jekyll and Compass. Starting Rack on port 4000
    rake aborted!
    Errno::ENOENT: No such file or directory - jekyll
    /Users/************/octopress/Rakefile:84:in `spawn'
    /Users/************/octopress/Rakefile:84:in `block in <top (required)>'
    Tasks: TOP => preview
    (See full trace by running task with --trace)
    

    然后现在文章搞不上去。。。
    有没有也遇到这个问题的!求助!

    10 条回复    2015-11-08 11:06:46 +08:00
    windfarer
        1
    windfarer  
       2015-10-25 17:36:04 +08:00
    报错信息里已经很明确地告诉你应该怎么做了嘛,咋就不仔细看呢。
    “ Try: gem pristine RedCloth --version 4.2.9 ”
    thirtiseven
        2
    thirtiseven  
    OP
       2015-10-25 19:06:41 +08:00
    @windfarer 运行完了后让我 bundle install 然后出现 -bash: bundle: command not found
    windfarer
        3
    windfarer  
       2015-10-25 23:52:31 +08:00
    缺啥补啥,有 brew 的话,用 brew install bundle 把 bundle 装上,然后再试试?
    xfwduke
        4
    xfwduke  
       2015-10-26 09:32:02 +08:00
    升级后 octopress 也挂了, 实在没心思研究啥问题
    怒换 hexo, 比 octo 还快 -, -
    pheyer
        5
    pheyer  
       2015-11-02 14:54:57 +08:00
    @xfwduke 你的 octopress 原来是托管在 Github 上吗?我一直不明白如果从 Octopress 迁移到 Hexo , Git 记录怎么续起来,看网上的教程一般 Hexo 都是创建新文件夹的
    xfwduke
        6
    xfwduke  
       2015-11-03 20:46:35 +08:00
    @pheyer 我放自己的 vps 上的... 所以不太明白你说的是啥. 我换成 hexo, 算是简单粗暴, 就是把文章复制过去了, 然后改了下文件的命名规则而已
    pheyer
        7
    pheyer  
       2015-11-03 21:36:58 +08:00
    @xfwduke 我现在知道怎么弄了,谢谢回复
    HuyangJake
        8
    HuyangJake  
       2015-11-08 11:01:17 +08:00
    @pheyer 请问解决这个问题了吗,可否分享下。谢谢
    pheyer
        9
    pheyer  
       2015-11-08 11:06:31 +08:00
    @HuyangJake 看就个就清楚了
    pheyer
        10
    pheyer  
       2015-11-08 11:06:46 +08:00   ❤️ 1
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2858 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 11:31 · PVG 19:31 · LAX 04:31 · JFK 07:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.