GitHub页面:无法在OS X上捆绑exec jekyll服务

时间:2016-02-13 23:27:44

标签: macos rubygems bundler jekyll github-pages

我正在尝试安装Jekyll for GitHub页面的默认安装。 我主要关注documentation here

我安装了Homebrew,我曾经安装过ruby。

$ ruby --version
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]

我的存储库已经有Gemfile

source 'https://rubygems.org'
gem 'github-pages'

所以我尝试安装依赖项。
我被提示安装到vendor/bundle,所以我这样做。

$ bundle install --path vendor/bundle
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Installing RedCloth 4.2.9 with native extensions
Installing i18n 0.7.0
Installing json 1.8.3 with native extensions
Installing minitest 5.8.3
Installing thread_safe 0.3.5
Installing addressable 2.3.8
Installing blankslate 2.1.2.4
Installing fast-stemmer 1.0.2 with native extensions
Installing coffee-script-source 1.10.0
Installing execjs 2.6.0
Installing colorator 0.1
Installing ffi 1.9.10 with native extensions
Installing multipart-post 2.0.0
Installing gemoji 2.1.0
Installing net-dns 0.8.0
Installing public_suffix 1.5.2
Installing jekyll-paginate 1.1.0
Installing sass 3.4.20
Installing rb-fsevent 0.9.6
Installing kramdown 1.9.0
Installing liquid 2.6.2
Installing mercenary 0.3.5
Installing posix-spawn 0.3.11 with native extensions
Installing yajl-ruby 1.2.1 with native extensions
Installing redcarpet 3.3.3 with native extensions
Installing safe_yaml 1.0.4
Installing jekyll-feed 0.3.1
Installing mini_portile2 2.0.0
Installing jekyll-sitemap 0.9.0
Installing maruku 0.7.0
Installing rdiscount 2.1.8 with native extensions
Installing terminal-table 1.5.2
Using bundler 1.11.2
Installing tzinfo 1.2.2
Installing parslet 1.5.0
Installing classifier-reborn 2.0.4
Installing coffee-script 2.4.1
Installing ethon 0.8.0
Installing rb-inotify 0.9.5
Installing faraday 0.9.2
Installing jekyll-sass-converter 1.3.0
Installing pygments.rb 0.6.3
Installing nokogiri 1.6.7 with native extensions
Installing activesupport 4.2.5
Installing toml 0.1.2
Installing jekyll-coffeescript 1.0.1
Installing typhoeus 0.8.0
Installing listen 3.0.5
Installing sawyer 0.6.0
Installing html-pipeline 1.9.0
Installing github-pages-health-check 0.5.3
Installing jekyll-watch 1.3.0
Installing octokit 4.2.0
Installing jekyll-gist 1.4.0
Installing jekyll 2.4.0
Installing jekyll-mentions 0.2.1
Installing jekyll-redirect-from 0.8.0
Installing jemoji 0.5.0
Installing github-pages 40
Bundle complete! 1 Gemfile dependency, 59 gems now installed.
Bundled gems are installed into ./vendor/bundle.
Post-install message from html-pipeline:
-------------------------------------------------
Thank you for installing html-pipeline!
You must bundle Filter gem dependencies.
See html-pipeline README.md for more details.
https://github.com/jch/html-pipeline#dependencies
-------------------------------------------------

现在一切都应该有效,对吧?

$ bundle exec jekyll serve
Could not find RedCloth-4.2.9 in any of the sources
Run `bundle install` to install missing gems.

我猜不是,我不确定为什么。

已安装的软件包列表似乎正确......

$ bundle list
Gems included by the bundle:
  * RedCloth (4.2.9)
  * activesupport (4.2.5)
  * addressable (2.3.8)
  * blankslate (2.1.2.4)
  * bundler (1.11.2)
  * classifier-reborn (2.0.4)
  * coffee-script (2.4.1)
  * coffee-script-source (1.10.0)
  * colorator (0.1)
  * ethon (0.8.0)
  * execjs (2.6.0)
  * faraday (0.9.2)
  * fast-stemmer (1.0.2)
  * ffi (1.9.10)
  * gemoji (2.1.0)
  * github-pages (40)
  * github-pages-health-check (0.5.3)
  * html-pipeline (1.9.0)
  * i18n (0.7.0)
  * jekyll (2.4.0)
  * jekyll-coffeescript (1.0.1)
  * jekyll-feed (0.3.1)
  * jekyll-gist (1.4.0)
  * jekyll-mentions (0.2.1)
  * jekyll-paginate (1.1.0)
  * jekyll-redirect-from (0.8.0)
  * jekyll-sass-converter (1.3.0)
  * jekyll-sitemap (0.9.0)
  * jekyll-watch (1.3.0)
  * jemoji (0.5.0)
  * json (1.8.3)
  * kramdown (1.9.0)
  * liquid (2.6.2)
  * listen (3.0.5)
  * maruku (0.7.0)
  * mercenary (0.3.5)
  * mini_portile2 (2.0.0)
  * minitest (5.8.3)
  * multipart-post (2.0.0)
  * net-dns (0.8.0)
  * nokogiri (1.6.7)
  * octokit (4.2.0)
  * parslet (1.5.0)
  * posix-spawn (0.3.11)
  * public_suffix (1.5.2)
  * pygments.rb (0.6.3)
  * rb-fsevent (0.9.6)
  * rb-inotify (0.9.5)
  * rdiscount (2.1.8)
  * redcarpet (3.3.3)
  * safe_yaml (1.0.4)
  * sass (3.4.20)
  * sawyer (0.6.0)
  * terminal-table (1.5.2)
  * thread_safe (0.3.5)
  * toml (0.1.2)
  * typhoeus (0.8.0)
  * tzinfo (1.2.2)
  * yajl-ruby (1.2.1)

我在网上发现其他一些问题,我的GEM_PATH可能不正确,这似乎有道理,因为我的GEM_PATH是空的。 如果有的话,我应该将它设置为什么?

我还有什么可以排除故障吗?

0 个答案:

没有答案