Christiane Okamoto
Christiane Okamoto

Reputation: 155

Deploy using Capistrano and Ruby 2.5.1

I upgraded Ruby to version 2.5.1, RubyGems to 2.7.6 and Bundler to 1.16.1, all the most recent versions. Locally everything is fine, but when I try to run the sidekiq:quiet task while deploying using Capistrano, I get the following error message:

** bundler: failed to load command: sidekiqctl (/var/www/test/htdocs/shared/bundle/ruby-2.5.1@gapfish/ruby/2.5.0/bin/sidekiqctl) *** LoadError: cannot load such file -- bundler/dep_proxy

I already tried to run gem update --system and gem install bundler but didn't help. Anyone has some clue about what could be happening?

If I require dep_proxy inside the machine (using irb), it can be found however.

gapfish@stage ~/current $ irb 2.5.1 :001 > require 'bundler/dep_proxy' => true

Upvotes: 0

Views: 866

Answers (1)

Christiane Okamoto
Christiane Okamoto

Reputation: 155

Downgrading bundler to 1.15.4 worked for me.. :( I was trying with 1.16.1, didn't test with 1.16.0 though

Until today there was no bugfix in Bundler

Upvotes: 0

Related Questions