From: Ken Bloom Date: 2009-08-26T22:08:53+09:00 Subject: Re: Ruby 1.8.7 automatically loads RubyGems? On Wed, 26 Aug 2009 03:33:35 +0900, Intransition wrote: > Does Ruby 1.8.7 automatically load gems? I took -rubygems out of my > RUBYOPT, and discovered my gems were still getting loaded. Is that true? > > $ ruby -v > ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] > > T. Did you remember to do that in an active shell (with the command "unset RUBYOPT") or did you do it in your .profile (or .bash_profile or .bashrc) and expect it to take effect immediately? If you edit your .profile, it doesn't take effect immediately -- you need to log out and log back in. If you edit your .bashrc, you need to open a new shell (and .bashrc is the wrong place for environment variables anyway). -- Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/