Reputation: 37018
I am new to Ruby, and it seems like people use both gem
as well as bundle
on the command line to install, update, remove, and manage gems. Are RubyGems and Bundler interchangeable for gem management? I cannot tell the difference between gem install
and bundle install
, for instance.
Upvotes: 7
Views: 547
Reputation: 465
gem install
installs the specified gem.
e.g., gem install <gem_name>
bundle install
reads the Gemfile
and installs all the gems mentioned in Gemfile
Upvotes: 10