最近这里几天一直搞Jekyll 一直踩坑jekyll搭建,今天从从ithub
上下载一个新的主题。本地环境运行 jekyll
报错,这里在此记录下来希望帮助到以后遇到此问题到小伙伴。
/usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/bundler/runtime.rb:
319:in `check_for_activated_spec!':
You have already activated i18n 1.7.0,
but your Gemfile requires i18n 0.9.5.
Prepending `bundle exec`
to your command may solve this. (Gem::LoadError)
- 解决方式升级
bundle update
升级相关套件 - 修改Gemfile配置文件
i18n
配置从0.9.5—>改成1.7.0
bundle update
如果更新太慢
- 换ruby源,换成国内的 rubychina
- 如果你能连到wai网的话很快就下载完