Use bundle exec to load gems

GitLab, the gem, wasn't found when requiring, as Bundler bundles to the
vendor directory to better cache the gems. This means we need that
context when executing the generation. This has now been added.
parent 49ad8894
Pipeline #33268634 passed with stages
in 28 minutes and 34 seconds
......@@ -4,7 +4,6 @@ variables:
GIT_DEPTH: "10"
# Speed up middleman
NO_CONTRACTS: "true"
PRIVATE_TOKEN: "No9PEUAYxKoPfzyqPxXs"
.install: &install
bundle install --jobs 4 --path vendor
......@@ -100,7 +99,7 @@ check_links:
generate-handbook-changelog:
stage: build
script:
- bin/generate_handbook_changelog
- bundle exec bin/generate_handbook_changelog
only:
- schedules
tags:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment