搭建个人博客

2018-08-07  本文已影响50人  ivywenyuan

ruby更新好之后,

sudo gem install jekyll
bundle install

报错 Could not locate Gemfile
执行 jekyll new . --force
然后再执行 bundle install

Configuration file: /Users/mawenyuan/Documents/learn/githublearn/wenyuanma.github.io/_config.yml
            Source: /Users/mawenyuan/Documents/learn/githublearn/wenyuanma.github.io
       Destination: /Users/mawenyuan/Documents/learn/githublearn/wenyuanma.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
                    done in 0.552 seconds.
 Auto-regeneration: enabled for '/Users/mawenyuan/Documents/learn/githublearn/wenyuanma.github.io'
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.

在浏览器中输入 http://127.0.0.1:4000/ 个人页面在本地就起来了。

上一篇 下一篇

猜你喜欢

热点阅读