Ask A Question

Notifications

You’re not receiving notifications from this thread.

Deploying error: The dependencies in your gemfile changed

ykostov asked in Rails

Hello Devs,
I am on my way to deploy a rails app, but I got this error:

** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:


 DEBUG [504959b4]   Install missing gems with `bundle install`

 DEBUG [504959b4] Finished in 1.003 seconds with exit status 1 (failed).

  INFO [e8bd8092] Running $HOME/.rbenv/bin/rbenv exec bundle install --jobs 4 --quiet as deployer@167.172.163.148

 DEBUG [e8bd8092] Command: cd /home/deployer/anet/releases/20210727102438 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; $HOME/.rbenv/bin/rbenv exec bundle install --jobs 4 --quiet )

 DEBUG [e8bd8092]   You are trying to install in deployment mode after changing

your Gemfile. Run `bundle install` elsewhere and add the

updated Gemfile.lock to version control.



If this is a development machine, remove the

/home/deployer/anet/releases/20210727102438/Gemfile freeze

by running `bundle config unset deployment`.



The dependencies in your gemfile changed



You have added to the Gemfile:

* map (~> 3.10)

* capistrano3-puma



You have deleted from the Gemfile:

* capistrano (~> 3.10)

I reverted all changes made in the Gemfile, run bundle install, tried bundle config unset deployment but the error still stands.
Any thoughts?

Best Regards

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.