Discussion Forums
- Topic List
- Most Recent Posts
- Sign In for more options
Any idea how to install gems "offline"? I need to install the mysql gem but the comp does not have net access..
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.
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?
download gem from
http://www.tmtm.org/en/mysql/ruby/ or http://rubyforge.vm.bytemark.co.uk/gems/
after that go to project dir in cmd type gem install or
gem install --local
It will install gem in your m/c
@amit - i downloaded the gem and ran the command... i got an error which says not found in local repository
show us:
gem environment gem list
--local just restrict searching gems for a local repository
try to install via
gem install ./package.gem --local
