[Rubygems-developers] can 2 Gem directories co-exist?

Jim Freeze rubygems at freeze.org
Fri Feb 3 16:13:09 EST 2006


On 2/3/06, Hugh Sasse <hgs at dmu.ac.uk> wrote:
> On Fri, 3 Feb 2006, Jim Weirich wrote:
>
> --- /scratch/hgs/rubygems-0.8.11/lib/rubygems/gem_commands.rb.orig      2005-07-10 11:20:26.000000000 +0000
> +++ /scratch/hgs/rubygems-0.8.11/lib/rubygems/gem_commands.rb   2006-02-03 20:42:41.098145000 +0000
> @@ -977,8 +977,8 @@
>        else
>          out = "Rubygems Environment:\n"
>          out << "  - VERSION: #{Gem::RubyGemsVersion} (#{Gem::RubyGemsPackageVersion})\n"
> -        out << "  - INSTALLATION DIRECTORY: #{Gem.dir}\n"
> -        out << "  - GEM PATH:\n"
> +        out << "  - INSTALLATION DIRECTORY: (set ENV[\"GEM_HOME\"] to change) #{Gem.dir}\n"
> +        out << "  - GEM PATH:  (set ENV[\"GEM_PATH\"] to change)\n"
>          Gem.path.collect { |p| out << "     - #{p}\n" }
>          out << "  - REMOTE SOURCES:\n"
>          Gem::RemoteInstaller.new.sources.collect do |s|

I haven't been following this closely, but does this have something to do with
which bin is installed into for a gem?

If not, what controls which bin/ dir is used?

--
Jim Freeze



More information about the Rubygems-developers mailing list