捆绑安装后,Jekyll找不到gem

时间:2016-09-08 06:33:33

标签: jekyll

➜  site bundle install
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Resolving dependencies...
Using colorator 1.1.0
Using ffi 1.9.14
Using forwardable-extended 2.6.0
Using sass 3.4.22
Using rb-fsevent 0.9.7
Using kramdown 1.12.0
Using liquid 3.0.6
Using mercenary 0.3.6
Using rouge 1.11.1
Using safe_yaml 1.0.4
Using minima 1.1.0
Using bundler 1.12.5
Using rb-inotify 0.9.7
Using pathutil 0.14.0
Using jekyll-sass-converter 1.4.0
Using listen 3.0.8
Using jekyll-watch 1.5.0
Using jekyll 3.2.1
Bundle complete! 2 Gemfile dependencies, 18 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
➜  site bundle exec jekyll serve
Could not find minima-1.1.0 in any of the sources
Run `bundle install` to install missing gems.

捆绑安装后,Jekyll仍抱怨缺少minima-1.1.0 gem

1 个答案:

答案 0 :(得分:6)

Jekyll's home page所示,您必须从网站根目录中进行另一次捆绑安装。

gem install jekyll bundler 
jekyll new my-awesome-site 
cd my-awesome-site 
bundle install 
bundle exec jekyll serve
# => Now browse to http://localhost:4000