Bundle install issues while creating build

I’m using Rspec with Ruby 2.2.2 and Rails 4.2.
I get this error while creating builds on CircleCI:

git://github.com/seuros/capistrano-sidekiq.git (at master) is not yet checked out. Run bundle install first. Action failed: rake db:create db:migrate sunspot:solr:start

I tried debugging with SSH. bundle install works fine there. But the test again fails while creating build.

Can you add bundle install as a step in your circle.yml?

I added this to Dependency Overrides settings and it worked:

bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3