pre-commit/pre_commit/languages
Jay Soffian 9a7ed8be09 Force gem installation into envdir
RubyGems allows OS packagers to specify defaults for `--install-dir`
and `--bindir` and these take precedence over `GEM_HOME`. The only way
to override the defaults is to explicitly specify the options ourselves
when running `gem install`.

Examples of OSes where this is the case are RedHat 9.2 and Gentoo.

Fixes #2799.
2023-06-13 18:03:52 -04:00
..
__init__.py OMG we're running a hook 2014-03-13 22:12:33 -07:00
conda.py prefer sys.platform over os.name when checking for windows OS 2023-03-03 22:13:07 -06:00
coursier.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00
dart.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00
docker.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00
docker_image.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00
dotnet.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00
fail.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00
golang.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00
lua.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00
node.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00
perl.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00
pygrep.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00
python.py prefer sys.platform over os.name when checking for windows OS 2023-03-03 22:13:07 -06:00
r.py avoid quoting and escaping while installing R hooks by writing code to tempfile instead of execute R code inline 2023-05-17 18:00:00 -04:00
ruby.py Force gem installation into envdir 2023-06-13 18:03:52 -04:00
rust.py set CARGO_HOME while executing rustup 2023-03-25 13:06:22 -04:00
script.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00
swift.py fix #2235 2023-04-03 15:50:55 -04:00
system.py move languages.all and languages.helpers out of languages 2023-02-20 18:03:45 -05:00