How to Add a Gem to a Ruby Project with bundle add
bundle add is the one command for giving a Ruby project a new gem. It writes the gem into the Gemfile, installs it with everything it needs, and records the exact versions in Gemfile.lock, so the project gets the same gems on every computer.
