Skip to content

Commit

Permalink
fix: fix require issue by adding x64-mingw32 platform to Gemfile.lock…
Browse files Browse the repository at this point in the history
… platforms
  • Loading branch information
bethesque committed Jun 2, 2022
1 parent 5cea64a commit bf3f8c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packaging/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ GEM

PLATFORMS
ruby
x64-mingw32

DEPENDENCIES
json (= 2.0.4)
Expand Down
2 changes: 1 addition & 1 deletion tasks/package.rake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace :package do
sh "mkdir -p build/tmp/lib/pact/mock_service"
# sh "cp lib/pact/mock_service/version.rb build/tmp/lib/pact/mock_service/version.rb"
Bundler.with_clean_env do
sh "cd build/tmp && env BUNDLE_IGNORE_CONFIG=1 bundle install --path ../vendor --without development"
sh "cd build/tmp && env BUNDLE_IGNORE_CONFIG=1 bundle lock --add-platform x64-mingw32 && env BUNDLE_IGNORE_CONFIG=1 bundle install --path ../vendor --without development"
generate_readme
end
sh "rm -rf build/tmp"
Expand Down

0 comments on commit bf3f8c5

Please sign in to comment.