rake-compiler / rake-compiler-dock

Easy to use and reliable cross compiler environment for building Windows, Linux, Mac and JRuby binary gems.
MIT License
78 stars 30 forks source link

Pre-install bundler-1.x and 2.x versions to the image #23

Closed larskanis closed 5 years ago

larskanis commented 5 years ago

That way the right bundler version is picked based on the version specified in the Gemfile. Otherwise bundle install fails with

can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)

when bundler versions within and outside of the image are different. See here: https://travis-ci.org/ged/ruby-pg/jobs/482574032

larskanis commented 5 years ago

This is solved in commit d1e464cc6a94b649dec43f7016b0344b32c8a856