Error with gems

I forked the gem and I added the following line of code to the Gemfile
gem 'delayed_job', git: 'https://github.com/apospelova/delayed_job.git'
Locally all test are passed, but CircleCI bundle install give an error
fatal: repository '/home/ubuntu/keywestpestcontrol-jobs/vendor/bundle/ruby/2.4.0/cache/bundler/git/delayed_job-eb96766ab14b34dc50156b4b7fb82367dba12d11' does not exist

Git error: command `git clone --no-checkout --quiet
"/home/ubuntu/keywestpestcontrol-jobs/vendor/bundle/ruby/2.4.0/cache/bundler/git/delayed_job-eb96766ab14b34dc50156b4b7fb82367dba12d11"
"/home/ubuntu/keywestpestcontrol-jobs/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-f955039fe8e2"`
in directory /home/ubuntu/keywestpestcontrol-jobs has failed.
If this error persists you could try removing the cache directory
'/home/ubuntu/keywestpestcontrol-jobs/vendor/bundle/ruby/2.4.0/cache/bundler/git/delayed_job-eb96766ab14b34dc50156b4b7fb82367dba12d11'

I tried to rebuild without cache and had the same error.