If I download a .gem file to a folder in my computer, can I install it later using gem install
?
You can download gems from https://rubygems.org/gems/ or build you local gem via bundle and rack. eg: bundle gem yourGemName. rake install.
Also, you can use gem install --local path_to_gem/filename.gem
This will skip the usual gem repository scan that happens when you leave off --local
.
You can find other magic with gem install --help
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With