Skip to content

Commit ce31d36

Browse files
committed
Merge pull request #307 from havenwood/rubygems_gemdeps
Fixed RUBYGEMS_GEMDEPS warning.
2 parents c260570 + bf10ebf commit ce31d36

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

share/chruby/chruby.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ function chruby_use()
4242
export RUBYOPT="$2"
4343
export PATH="$RUBY_ROOT/bin:$PATH"
4444

45+
typeset unset RUBYGEMS_GEMDEPS
46+
4547
eval "$("$RUBY_ROOT/bin/ruby" - <<EOF
4648
puts "export RUBY_ENGINE=#{defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'};"
4749
puts "export RUBY_VERSION=#{RUBY_VERSION};"

0 commit comments

Comments
 (0)