File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
lib/matrixeval/ruby/docker_compose
test/matrixeval/ruby/docker_compose Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,11 @@ def services_json
3232 "image" => variant . image ,
3333 "volumes" => mounts ( variant ) ,
3434 "environment" => {
35- "BUNDLE_PATH" => "/bundle"
35+ "BUNDLE_PATH" => "/bundle" ,
36+ "GEM_HOME" => "/bundle" ,
37+ "BUNDLE_APP_CONFIG" => "/bundle" ,
38+ "BUNDLE_BIN" => "/bundle/bin" ,
39+ "PATH" => "/app/bin:/bundle/bin:$PATH"
3640 } ,
3741 "working_dir" => "/app"
3842 }
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ def test_create
4343 - bundle_ruby_3_0_0:/bundle
4444 environment:
4545 BUNDLE_PATH: "/bundle"
46+ GEM_HOME: "/bundle"
47+ BUNDLE_APP_CONFIG: "/bundle"
48+ BUNDLE_BIN: "/bundle/bin"
49+ PATH: "/app/bin:/bundle/bin:$PATH"
4650 working_dir: "/app"
4751 ruby_3_1:
4852 image: ruby:3.1.0
@@ -51,6 +55,10 @@ def test_create
5155 - bundle_ruby_3_1_0:/bundle
5256 environment:
5357 BUNDLE_PATH: "/bundle"
58+ GEM_HOME: "/bundle"
59+ BUNDLE_APP_CONFIG: "/bundle"
60+ BUNDLE_BIN: "/bundle/bin"
61+ PATH: "/app/bin:/bundle/bin:$PATH"
5462 working_dir: "/app"
5563 volumes:
5664 bundle_ruby_3_0_0:
You can’t perform that action at this time.
0 commit comments