Today I learned
  • Github
  • Linkedin
  • Nomad Life(Travel Blog)
  • About
Sign in Subscribe
Manu Ajith

Manu Ajith

til

How do I make --no-ri --no-rdoc the default for gem install?

If you are deploying to a server, or you do not want to wait around for rdoc and ri to install for each gem, you can disable them for gem installs and updates. Just add the following line to your ~/.gemrc or /etc/gemrc: gem: --no-rdoc --no-ri or gem: --no-document
13 Jul 2015
til

How to update git remotes

To list the existing remotes, we can use the following command: git remote -v #View existing remotes origin https://github.com/user/repo.git (fetch) origin https://github.com/user/repo.git (push) Use the following command to set the remote to a new end point. git remote set-url origin
13 Jul 2015
← Newer Posts Page 5 of 5
Today I learned © 2025
Powered by Ghost