Skip to content

Commit 95ef6f3

Browse files
committed
Update dockerfile to use compatible version of Bundler
Bundler 2.0 introduced requirements that are incompatible with the version of Ruby shipped with Logstash 5.6. This commit installs a pre 2.0 version of Bundler. It also removes an irrelevant step from the travis yml Fixes logstash-plugins#229
1 parent d530799 commit 95ef6f3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ matrix:
1313
fast_finish: true
1414
install: ci/unit/docker-setup.sh
1515
script: ci/unit/docker-run.sh
16-
before_install: gem install bundler -v '< 2'

ci/unit/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ COPY --chown=logstash:logstash . /usr/share/plugins/this
66
WORKDIR /usr/share/plugins/this
77
ENV PATH=/usr/share/logstash/vendor/jruby/bin:${PATH}
88
ENV LOGSTASH_SOURCE 1
9-
RUN jruby -S gem install bundler
9+
RUN jruby -S gem install bundler -v '< 2'
1010
RUN jruby -S bundle install --jobs=3 --retry=3
1111
RUN jruby -S bundle exec rake vendor

0 commit comments

Comments
 (0)