Skip to content

Commit e8ceab5

Browse files
committed
Set GEM_PATH the same as GEM_HOME
Without this, latest bundler wasn't respecting the GEM_HOME (i.e. it would still fall back to the system's gems). I'm not sure why or whether it's a bug or feature, or caused by rubygems vs bundler, but this fixes it anyway.
1 parent ffdd5fb commit e8ceab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/acceptance/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def log_file
6868
def env
6969
@env ||= {
7070
"GEM_HOME" => gem_home.to_s,
71-
"GEM_PATH" => "",
71+
"GEM_PATH" => gem_home.to_s,
7272
"HOME" => user_home.to_s,
7373
"RAILS_ENV" => nil,
7474
"RACK_ENV" => nil,

0 commit comments

Comments
 (0)