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
David Rodríguez
4e90a92eb2
Revert "Prefer BUNDLE_PATH__SYSTEM=true
"
...
This reverts commit e040029c82
.
2019-07-12 11:16:20 +02:00
David Rodríguez
e040029c82
Prefer BUNDLE_PATH__SYSTEM=true
2019-06-26 13:03:31 +02:00
Tianon Gravi
aacff43981
Add some verification that we have no "distro ruby" packages
2019-06-25 16:03:12 -07:00
Tianon Gravi
e46b04d695
Add "libgdbm-compat-dev" explicitly in Buster+ on Slim variants
...
This makes "require 'dbm'" work -- it uses "ndbm.h" to detect support (which is provided by this package in Buster+).
2019-06-25 12:40:06 -07:00
Tianon Gravi
f8c8256104
Switch from "&&" to ";" and use "apt-mark showmanual"+"ldd" method for non-slim Debian too
2019-06-25 12:12:14 -07:00
Tianon Gravi
73adf677cd
Add "libgmp-dev" and "gmp-dev" persistently
2019-03-04 08:02:36 -08:00
Tianon Gravi
eae22dc2df
Update "slim" and "alpine" variants to include libgmp
2019-02-28 16:24:23 -08:00
Tianon Gravi
84db4691c0
Adjust RUBYGEMS_VERSION to be fixed at either 3.0.1 or the Ruby-bundled version, whichever is newer
...
This also adjusts Bundler to be explicitly fixed at either 1.17.2 or the Ruby/Rubygems-bundled version, whichever is newer -- this is slightly older than what we've already pushed (1.17.3), but nothing in the changelog appears to be relevant, so this seems fine: https://github.com/bundler/bundler/compare/v1.17.2...v1.17.3#diff-4ac32a78649ca5bdd8e0ba38b7006a1e
For Ruby 2.6, this means we no longer do anything to the bundled Rubygems (or Bundler), and simply provide whatever comes with the Ruby release as-is, and it is now up to users to explicitly update if they need a newer version than is provided here.
2019-01-04 15:30:47 -08:00
Tianon Gravi
699a043113
Remove BUNDLE_BIN and add GEM_HOME/bin back to PATH
...
See https://github.com/docker-library/ruby/pull/208#issuecomment-390755292
2018-05-23 10:00:40 -07:00
Joe Ferguson
77515a0627
Add link to bundler/bundler comment
2018-05-16 12:32:39 -07:00
Joe Ferguson
ee0b15d76c
Fix PATH to use the fully generic binstubs
...
bundler binstubs are not necessarily generic; they were until bundler 1.16 and should be fixed back, but will likely be non-generic again by default in 2.0
See https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
2018-05-15 14:12:56 -07:00
Stephen Crosby
c9a4472a01
Remove /root/.gem to shrink image size
2018-01-22 16:19:04 -08:00
Fumiaki MATSUSHIMA
6959194971
Add 2.5-rc builds
2017-10-24 13:33:02 +09:00
Tianon Gravi
445b7e4b78
Make sure "libreadlineX" stays installed
2017-08-04 15:49:48 -07:00
Tianon Gravi
a6918175fd
Add explicit "jessie" and "alpine3.4" aliases
2017-07-31 16:48:09 -07:00
Tianon Gravi
be55938d97
Add explicit "--build" to our "./configure" invocations
2017-05-08 19:53:33 -07:00
Peter Dave Hello
6e2934a351
Download smaller ruby tarball xz instead of gz
2016-12-30 16:48:07 -08:00
Joe Ferguson
c9208def0c
Add 2.4-rc builds
2016-12-05 12:45:43 -08:00
Tianon Gravi
01a86ce6cd
Adjust the templates (and thus all variants)
2016-12-05 10:51:26 -08:00
Tianon Gravi
d85cf42c55
Use "wget" instead of "curl" and add a comment to help us remember why we turn off "ENABLE_PATH_CHECK"
2016-09-20 11:41:28 -07:00
daniel.burt
aa323c7814
Switched to https when fetching Ruby
2016-09-19 18:24:36 -07:00
Tianon Gravi
9b1f77c11d
Fix non-root support
2016-02-04 14:55:28 -08:00
Tianon Gravi
1e30dbd46c
Adjust the order we do things a bit to enable non-root usage trivially
2016-02-03 14:03:32 -08:00
Tianon Gravi
abad497073
Templatize our Dockerfiles
2016-02-03 12:11:16 -08:00