farhan
farhan

Reputation: 469

Linux Remote server cap production deploy

cap aborted! SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: bundle exit status: 20 bundle stdout: Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES section: 'bcrypt' bundle stderr: Nothing written

SSHKit::Command::Failed: bundle exit status: 20 bundle stdout: Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES section: 'bcrypt' bundle stderr: Nothing written

Tasks: TOP => deploy:updated => bundler:install (See full trace by running task with --trace) The deploy has failed with an error: Exception while executing as [email protected]: bundle exit status: 20 bundle stdout: Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES section: 'bcrypt' bundle stderr: Nothing written

Upvotes: 1

Views: 91

Answers (2)

Gaurav Patil
Gaurav Patil

Reputation: 1382

check your bundler version on the production server and local development server.

Upvotes: 0

yzalavin
yzalavin

Reputation: 1836

First, try to delete your Gemfile.lock and run bundle install. If that will not help try to downgrade the bundler version as in question post

Upvotes: 1

Related Questions