Skip to content

Commit

Permalink
Drop mentions of unused bundler env variables for ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed Jul 5, 2024
1 parent f901c57 commit 58a0c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ By default, Ruby inherits the locale of the environment in which it is run. For

This image sets several environment variables which change the behavior of Bundler and Gem for running a single application within a container (especially in such a way that the development sources of the application can be bind-mounted inside a container and not have `.bundle` from the host interfere with the proper functionality of the container).

The environment variables we set are canonically listed in the above-linked `Dockerfiles`, but some of them include `GEM_HOME`, `BUNDLE_PATH`, `BUNDLE_BIN`, `BUNDLE_SILENCE_ROOT_WARNING`, and `BUNDLE_APP_CONFIG`.
The environment variables we set are canonically listed in the above-linked `Dockerfiles`, but some of them include `GEM_HOME`, `BUNDLE_SILENCE_ROOT_WARNING`, and `BUNDLE_APP_CONFIG`.

If these cause issues for your use case (running multiple Ruby applications in a single container, for example), setting them to the empty string *should* be sufficient for undoing their behavior.

0 comments on commit 58a0c0d

Please sign in to comment.