Ruby on rails jekyll-v,带警告:Gem::Specification.reset期间未解析的规范:
我想使用HPSTR jekyll主题,当我提供Ruby on rails jekyll-v,带警告:Gem::Specification.reset期间未解析的规范:,ruby-on-rails,ruby,jekyll,Ruby On Rails,Ruby,Jekyll,我想使用HPSTR jekyll主题,当我提供jekyll服务时,终端抛出错误: /Library/Ruby/Gems/2.0.0/gems/bundler-1.10.3/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find coffee-script-source-1.9.1 in any of the sources (Bundler::GemNotFound) from /Library/Ruby/
jekyll服务时,终端抛出错误:
/Library/Ruby/Gems/2.0.0/gems/bundler-1.10.3/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find coffee-script-source-1.9.1 in any of the sources (Bundler::GemNotFound)
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.10.3/lib/bundler/spec_set.rb:85:in `map!'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.10.3/lib/bundler/spec_set.rb:85:in `materialize'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.10.3/lib/bundler/definition.rb:139:in `specs'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.10.3/lib/bundler/definition.rb:184:in `specs_for'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.10.3/lib/bundler/definition.rb:173:in `requested_specs'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.10.3/lib/bundler/environment.rb:18:in `requested_specs'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.10.3/lib/bundler/runtime.rb:13:in `setup'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.10.3/lib/bundler.rb:127:in `setup'
from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:37:in `require_from_bundler'
from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/bin/jekyll:16:in `<top (required)>'
from /usr/bin/jekyll:23:in `load'
from /usr/bin/jekyll:23:in `<main>'
如何清除未解决的规范
我尝试了gem cleanup pygments.rb
,gem cleanup redrupt
,以及gem cleanup listen
。这些命令运行良好,但jekyll-v的结果是相同的
我甚至尝试了捆绑清理--force
,仍然得到了相同的警告
有人知道吗?非常感谢这对我很有效
git clone git@github.com:mmistakes/hpstr-jekyll-theme.git
cd hpstr-jekyll-theme/
rm Gemfile.lock
bundle install
bundle exec jekyll serve
git clone git@github.com:mmistakes/hpstr-jekyll-theme.git
cd hpstr-jekyll-theme/
rm Gemfile.lock
bundle install
bundle exec jekyll serve