1
0
Fork 0
mirror of https://github.com/docker-library/ruby.git synced 2022-11-09 11:41:34 -05:00
Commit graph

7 commits

Author SHA1 Message Date
David Rodríguez
82eecb7596
Alternative fix
Stop setting `BUNDLE_PATH`.

All default bundler versions shipped with all supported rubies install
gems to `GEM_HOME` by default, so this shouldn't be a breaking change
and it's a less surprising behavior because it does not deviate from how
bundler is configured by default.

Future versions will probably install locally by default, but that
hasn't happened yet.

I think leaving bundler "unconfigured" also matches the direction of the
recent change where the images no longer explicitly install `bundler` but
simply leave whatever version comes with ruby. Similarly, it makes sense
to me to leave whatever configuration comes by default with `bundler` in
place.
2020-01-03 18:05:39 +01:00
David Rodríguez
7df74adde3
Add paths scoped to ruby version to PATH and GEM_PATH
Newer bundler versions install gems to `$GEM_HOME/ruby/<ruby_version>`,
instead of directly to `$GEM_HOME`.

So we need to add the proper paths to `GEM_PATH` and `PATH` so that gems
and their executables are properly found.
2020-01-03 16:23:14 +01:00
David Rodríguez
8f3650c2ea
Remove unnecessary PATH modification
I don't think that folder exists :/
2020-01-03 14:31:14 +01:00
Jan van der Pas
bf0e16e751 Update ruby 2.5.x to 2.5.7
Mitigates the following vulnerabilities:
  - CVE-2019-16255: A code injection vulnerability of Shell#[] and
    Shell#test
  - CVE-2019-16254: HTTP response splitting in WEBrick (Additional fix)
  - CVE-2019-15845: A NUL injection vulnerability of File.fnmatch and
    File.fnmatch?
  - CVE-2019-16201: Regular Expression Denial of Service vulnerability
    of WEBrick’s Digest access authentication
2019-10-01 16:03:37 +02:00
Docker Library Bot
32f51b68da Update to 2.5.6, rubygems 3.0.3 2019-08-28 11:03:16 +00:00
Tianon Gravi
bffb6ff1fb Apply #289 revert to new Buster variants too 2019-07-12 07:20:55 -07:00
J0WI
3b76734786 Add Debian Buster and remove Jessie 2019-07-10 18:33:20 +02:00