赞
踩
在执行 gem install jekyll报错了
C:\Sites> gem install jekyll
ERROR: Could not find a valid gem ‘jekyll’ (>= 0) in any repository
解决方法$ gem sources --remove RubyGems.org
$ gem sources -a RubyGems.org
$ gem install jekyll 我是这么解决的
然后,我又遇到了两个安装包没有安装的问题
D:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.11.2/lib/bundler/
resolver.rb:354:in `block in verify_gemfile_dependencies_are_found!': Could not
find gem 'minima (~> 2.0) x86-mingw32' in any of the gem sources listed in your
Gemfile or available on this machine. (Bundler::GemNotFound)
from D:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.11.2
/lib/bundler/resolver.rb:330:in `each'
from D:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.11.2
/lib/bundler/resolver.rb:330:in `verify_gemfile_dependencies_are_found!'
from D:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.11.2
/lib/bundler/resolver.rb:199:in `start'
from D:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.11.2
/lib/bundler/r
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。