Gem server - cannot redirect to gem repository

Due to some quirk of my install-from-source (done earlier today), my
gems are in /home/tomc/.gem/ruby/1.8/doc, on my Kubuntu Linix OS.

I need to redirect the gem server to this location, but nothing I’ve
tried has worked, and I’m out of ideas.

Here’s what I think SHOULD work, with the result:

gem server -d=/home/tomc/.gem/ruby/1.8/doc
ERROR: While executing gem … (ArgumentError)
/home/tomc/=/home/tomc/.gem does not appear to be a gem repository

These also do not work:
/home/tomc/.gem
/home/tomc/.gem/ruby/1.8
/home/tomc/.gem/ruby/1.8/doc/activerecord-2.3.3/rdoc (direction to a
specific rdoc dir)
/opt/ruby-1.8.7-p160/lib/ruby/gems/1.8 (is where my gems actually
reside)

=> Can anyone tell me what I’m not grasping, such that this all failing
so completely?

Thanks!

t.

Here’s my “gem env” output:

$ gem
env

RubyGems
Environment:

  • RUBYGEMS VERSION:
    1.3.5

  • RUBY VERSION: 1.8.7 (2009-04-08 patchlevel 160)
    [i686-linux]

  • INSTALLATION DIRECTORY:
    /opt/ruby-1.8.7-p160/lib/ruby/gems/1.8

  • RUBY EXECUTABLE: /opt/ruby-1.8.7-p160/bin/ruby

  • EXECUTABLE DIRECTORY: /opt/ruby-1.8.7-p160/bin

  • RUBYGEMS PLATFORMS:

    • ruby
    • x86-linux
  • GEM PATHS:

    • /opt/ruby-1.8.7-p160/lib/ruby/gems/1.8
    • /home/tomc/.gem/ruby/1.8
  • GEM CONFIGURATION:

    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:

Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< [email protected] >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)