[Rubygems-developers] Personal repos, for development and testing?
Hugh Sasse
hgs at dmu.ac.uk
Wed Feb 1 14:51:00 EST 2006
On Wed, 1 Feb 2006, Jim Weirich wrote:
>
> gem install PACKAGEXYZ -i my_personal_repository
> export GEM_HOME=my_personal_repository
>
> (untested ... but something like that should work)
Thanks, I got part way with the -i, but couldn't understand where
I'd got to. Would a patch like:
--- ./lib/rubygems/gem_commands.rb.orig 2005-07-10 11:20:26.000000000 +0000
+++ ./lib/rubygems/gem_commands.rb 2006-02-01 19:47:12.113260000 +0000
@@ -978,7 +978,7 @@
out = "Rubygems Environment:\n"
out << " - VERSION: #{Gem::RubyGemsVersion} (#{Gem::RubyGemsPackageVersion})\n"
out << " - INSTALLATION DIRECTORY: #{Gem.dir}\n"
- out << " - GEM PATH:\n"
+ out << " - GEM PATH: (set ENV[\"GEM_HOME\"] to change)\n"
Gem.path.collect { |p| out << " - #{p}\n" }
out << " - REMOTE SOURCES:\n"
Gem::RemoteInstaller.new.sources.collect do |s|
be a useful thing to have?
Thank you,
Hugh
More information about the Rubygems-developers
mailing list