File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ jobs:
149149
150150 # Set environment variables
151151 echo "RUBYOPT=-r$(pwd)/${{ matrix.ruby-version }}/index.rb" >> $GITHUB_ENV
152- echo "ADDITIONAL_GEM_PATH =$(pwd)/${{ matrix.ruby-version }}/bundle" >> $GITHUB_ENV
152+ echo "ODIGOS_GEM_PATH =$(pwd)/${{ matrix.ruby-version }}/bundle" >> $GITHUB_ENV
153153 echo "OTEL_SERVICE_NAME=${{ env.SERVICE_NAME }}" >> $GITHUB_ENV
154154 echo "OTEL_TRACES_EXPORTER=otlp" >> $GITHUB_ENV
155155 echo "OTEL_METRICS_EXPORTER=none" >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -34,9 +34,8 @@ def require_otel
3434 end
3535end
3636
37- additional_gem_path = ENV [ 'ADDITIONAL_GEM_PATH' ] || Gem . dir
38- puts "Loading additional gems from path: #{ additional_gem_path } "
39- Dir . glob ( "#{ additional_gem_path } /gems/*" ) . each do |file |
37+ gem_path = ENV [ 'ODIGOS_GEM_PATH' ] || Gem . dir
38+ Dir . glob ( "#{ gem_path } /gems/*" ) . each do |file |
4039 $LOAD_PATH. unshift ( "#{ file } /lib" )
4140end
4241
You can’t perform that action at this time.
0 commit comments