Closed sheldonh closed 9 years ago
I can't submit a PR with tests for this, because http://rvm.io/binaries/ubuntu/15.04 doesn't exist yet.
http://rvm.io/binaries/ubuntu/15.04
It would be great if chruby_auto in auto.sh had a guard clause that aborted if some environment variable was set, e.g. RUBY_AUTO_DISABLE.
chruby_auto
auto.sh
RUBY_AUTO_DISABLE
At least on Ubuntu, chruby's setup helper arranges for chruby.sh and auto.sh to be loaded automatically from /etc/profile.d/chruby.sh.
chruby.sh
/etc/profile.d/chruby.sh
It would be nice to be able to set an envar in my .bashrc that inhibits auto behaviour on such systems.
.bashrc
@postmodern plans to tackle this from a different angle (see #338).
I can't submit a PR with tests for this, because
http://rvm.io/binaries/ubuntu/15.04
doesn't exist yet.It would be great if
chruby_auto
inauto.sh
had a guard clause that aborted if some environment variable was set, e.g.RUBY_AUTO_DISABLE
.At least on Ubuntu, chruby's setup helper arranges for
chruby.sh
andauto.sh
to be loaded automatically from/etc/profile.d/chruby.sh
.It would be nice to be able to set an envar in my
.bashrc
that inhibits auto behaviour on such systems.