ruby - Gem has wrong version for Jekyll -
i've installed latest jekyll (3.3.1), gem/ruby still thinks i'm on 3.2.1. e.g.:
$ jekyll --version /users/userx/.rvm/gems/ruby-2.4.0/gems/bundler-1.13.7/lib/bundler/resolver.rb:203:in `rescue in start': bundler not find compatible versions gem "jekyll": (bundler::versionconflict) in gemfile: jekyll (= 3.2.1) minima resolved 2.1.0, depends on jekyll (~> 3.3) /users/userx/.rvm/gems/ruby-2.4.0/gems/bundler-1.13.7/lib/bundler/resolver.rb:199:in `start' /users/userx/.rvm/gems/ruby-2.4.0/gems/bundler-1.13.7/lib/bundler/resolver.rb:181:in `resolve' /users/userx/.rvm/gems/ruby-2.4.0/gems/bundler-1.13.7/lib/bundler/definition.rb:250:in `resolve' /users/userx/.rvm/gems/ruby-2.4.0/gems/bundler-1.13.7/lib/bundler/definition.rb:174:in `specs' /users/userx/.rvm/gems/ruby-2.4.0/gems/bundler-1.13.7/lib/bundler/definition.rb:233:in `specs_for' /users/userx/.rvm/gems/ruby-2.4.0/gems/bundler-1.13.7/lib/bundler/definition.rb:222:in `requested_specs' /users/userx/.rvm/gems/ruby-2.4.0/gems/bundler-1.13.7/lib/bundler/runtime.rb:118:in `block in definition_method' /users/userx/.rvm/gems/ruby-2.4.0/gems/bundler-1.13.7/lib/bundler/runtime.rb:19:in `setup' /users/userx/.rvm/gems/ruby-2.4.0/gems/bundler-1.13.7/lib/bundler.rb:99:in `setup' /users/userx/.rvm/gems/ruby-2.4.0/gems/jekyll-3.3.1/lib/jekyll/plugin_manager.rb:36:in `require_from_bundler' /users/userx/.rvm/gems/ruby-2.4.0/gems/jekyll-3.3.1/exe/jekyll:9:in `<top (required)>' /users/userx/.rvm/gems/ruby-2.4.0/bin/jekyll:22:in `load' /users/userx/.rvm/gems/ruby-2.4.0/bin/jekyll:22:in `<main>' /users/userx/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval' /users/userx/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>'
the ~/.rvm/gems/ruby-2.4.0/gems/
folder contains folders jekyll-3.2.1
, jekyll-3.3.1
. running gem install jekyll
returns successfully installed jekyll-3.3.1
. idea issue here?
in gemfile change : gem 'jekyll', '3.2.1'
gem 'jekyll'
.
then : bundle update
Comments
Post a Comment