If it's only needed for tests and integrations, isn't there a way to specify that it's required in both groups like so?

```
group :test, :integration do
  gem 'berkshelf', '~> 2.0.14'
end
```