gem --run-tests problems

John Poole

5.6 --run-tests Unit tests will be run after a gem is installed.
If the gem does not contain any unit tests, then a message will be
printed to that effect. This modifier applies to installation of
gems only.

I also tried "gem install pg --force --run-tests --
--with-pg-dir=C:/Progra~1/Postgr~1/8.4" and get the same error
message. Note, when I run "gem install pg --force --
--with-pg-dir=C:/Progra~1/Postgr~1/8.4", the install proceeds and
gives every indication the install was successful. However, when I
try to run a simple script that attempts to invoke "pg", it errors
out, so I want to see if there are any unit tests. The GEM
documentation suggests that using "--run-tests" will either perform
tests or alert that no unit test are available. The error message
"invalid option" I am getting appears to be of a more fundamental
type, not the type of error message stating that there are no unit
tests to try.

Has the feature of advising if there are no tests been removed?
I'm having a heck of a time trying to get Ruby to work with
PostgreSQL, and I suspect is something as simple as a missing path.
I was hoping the GEM installation of pg with testing might shed
some light, but I'm guessing that there are no tests for the pg
gem.

It would be helpful if the "test_on_install" feature at least
acknowledges it is activated and no tests were provided by the
author.

Thank you for forwarding the issue regarding pg on Windows; that
will be helpful, I hope.

I hope that side issue of my problems with "pg" did not detract
from the issue that does directly concern RubyGems: the
"test_on_install" gives no indication if it is activated and
whether or not it found a test suite.

I had included my sample run to illustrate a real live example
where no indication appears in the console.

The deprecated documentation suggests that a warning would issue
if a test suite were not found. In my sample, there is nothing to
suggest whether the "test_on_install" was activate or not and
whether it found or did not find a test suite. If the
"test_on_install" feature for gems is not appropriate for this
forum, please advise which forum (or by bug/enhancement) should to
utilized to bring this issue to the developer's attention.