问题 I'm developing a gem, and my Gemfile looks like this: source :rubygems gemspec group :development, :test do gem "pry" gem "debugger" gem "rake" end However, I don't want people to have to install pry and debugger when running tests, but I also want to be able to require them in my tests (because I'm running tests prefixed with bundle exec , and I cannot get it them in my load path if they're not in the Gemfile). How do I achieve this? Also, when to put gems that I use for development in the