gem environment gem list
--local just restrict searching gems for a local repository
try to install via
gem install ./package.gem --local
@amit - i downloaded the gem and ran the command... i got an error which says not found in local repository
I'd seen this page before - http://www.tmtm.org/en/mysql/ruby/ ... it has instructions for installation on Linux machines, but not for Windows... Any help on that?
Just go to the "gem's homepage":http://www.tmtm.org/en/mysql/ruby/, download the package, transfer it to your offline host, and follow the installation instructions.
More generally (ie. for other gems) you can use:
gem search -rd gem_name
To find out the details of the gem's homepage, and then proceed as above. Sometimes the install instructions are in the tarball itself, in a README or INSTALL file.