These dependencies need an upper bound. 

```ruby
spec.add_dependency    'delayed_job', ['>= 3.0', '< 5']
spec.add_dependency    'mongoid', ['>= 3.0', '< 5']
```