Skip to content

jekyll bundle version #106

Description

@fnoop

When trying to build the odcs with jekyll, getting this error:

Notice: /Stage[main]/Maverick_web::Maverick_docs/Exec[build-devframe_docs]/returns: /usr/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)
Notice: /Stage[main]/Maverick_web::Maverick_docs/Exec[build-devframe_docs]/returns: 	from /usr/lib/ruby/2.5.0/rubygems.rb:308:in `activate_bin_path'
Notice: /Stage[main]/Maverick_web::Maverick_docs/Exec[build-devframe_docs]/returns: 	from /usr/local/bin/bundle:23:in `<main>'
Error: '/usr/local/bin/bundle exec jekyll build' returned 1 instead of one of [0]
Error: /Stage[main]/Maverick_web::Maverick_docs/Exec[build-devframe_docs]/returns: change from 'notrun' to ['0'] failed: '/usr/local/bin/bundle exec jekyll build' returned 1 instead of one of [0]

The issue is explained here:
https://bundler.io/blog/2019/05/14/solutions-for-cant-find-gem-bundler-with-executable-bundle.html

Doing a system update of gem (gem update --system) is not a good solution - it seems to update some fundamental components enough that it sends puppet absolutely haywire and completely breaks maverick configure. Updating ruby is not a sensible option on most systems. The easiest fix is simply to remove the BUNDLED version in Gemfile.lock:

BUNDLED WITH
-   2.1.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions