tsuru / platforms

Official platforms for the tsuru PaaS.
BSD 3-Clause "New" or "Revised" License
76 stars 70 forks source link

Fix bundler installation for Ruby <2.3.0 #85

Closed guilhermearaujo closed 5 years ago

guilhermearaujo commented 5 years ago

On 3 Jan 2019, bundler version 2.0.0 was released, and it requires Ruby >=2.3.0.

Apps that use older verions are unable to be deployed, as gem will fail to install the latest compatible version.

This change will force gem to install the latest version less than 2.0.0 of bundler if the RUBY_VERSION is less than 2.3.0.

ggarnier commented 5 years ago

@guilhermearaujo great, thanks!