ruby更新好之后,
- 開心地安了 jekyll
sudo gem install jekyll
- 到 wenyuanma.github.io 目錄下
bundle install
報錯 Could not locate Gemfile
執(zhí)行 jekyll new . --force
然后再執(zhí)行 bundle install
- 啟動 server
bundle exec jekyll serve顯示
- 啟動 server
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/ 個人頁面在本地就起來了。