当前位置:   article > 正文

GitHub学习指南

GitHub学习指南

在执行 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 我是这么解决的
  • 1
  • 2
  • 3

然后,我又遇到了两个安装包没有安装的问题

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
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号