Skip to content

Commit

Permalink
Remove using ENV['GEM_PATH'] when new_path set as we don't want to us…
Browse files Browse the repository at this point in the history
…e external ENVs into the cli anymore
  • Loading branch information
tijcolem committed Sep 18, 2020
1 parent 9493061 commit c71989c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cli/openstudio_cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,6 @@ def parse_main_args(main_args)
remove_indices.reverse_each {|i| main_args.delete_at(i)}

if !new_path.empty?
if ENV['GEM_PATH']
new_path << ENV['GEM_PATH'].to_s
end

new_path = new_path.join(File::PATH_SEPARATOR)

Expand Down

0 comments on commit c71989c

Please sign in to comment.