One day, I tyied to install bundler
and got an error.
$ gem install bundler
ERROR: Error installing bundler:
"bundle" from bundler conflicts with ...../bin/bundle
Adding --force
option resolves this error.
$ gem install bundler --force
Parsing documentation for bundler-2.0.2
Installing ri documentation for bundler-2.0.2
Done installing documentation for bundler after 5 seconds
1 gem installed
Tips
Adding --no-document
option is a good practice if you don’t need doc.
$ gem install bundler --no-document --force