bundle add byebug --group "development, test"
I think it is a great use case for this command. Temporarily adding a debugger
is something I often need to do on projects that don’t have one listed in the
Gemfile. It looks like in a future version of bundler we will also be able to
remove gems via bundle remove
. In this context, it is also
worth mentioning bundle init
, which helps you start a new project with a
fresh Gemfile.