Skip to content

Commit

Permalink
chore: install webrick in Gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jul 25, 2020
1 parent e2947f5 commit 51ac140
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ RUN set -ex && \
ls /usr/local/lib/ruby/gems/2.6.0 && \
gem uninstall --install-dir /usr/local/lib/ruby/gems/2.6.0 -x rake && \
find /usr/local/lib/ruby -name webrick* -exec rm -rf {} + && \
gem install webrick -v '~>1.6' && \
bundle config set deployment 'true' && \
bundle config set no-cache 'true' && \
bundle install --without='development test' && \
Expand Down
4 changes: 4 additions & 0 deletions pact_broker/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ gem "puma", "~> 3.12"
gem "mysql2", "~>0.3"
gem "sqlite3", "~>1.3"
gem "rake", "~> 13.0"

# Need to manually add Webrick because we deleted it from the underlying Docker image
# because of a vulnerability, and Webmachine requires it in the adapters.rb file.
gem "webrick", "~> 1.6"

0 comments on commit 51ac140

Please sign in to comment.