-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I had to change the github repository for some reason. I also created a new main branch as being told by heroku and pushed it. I linked the github account to heroku but deployment fails with errors. I do not understand the solution in the log "Run bundle install elsewhere ". WHERE should I run that? I have no idea how this GEMthingies work!
`-----> Building on the Heroku-18 stack
-----> Using buildpack: heroku/ruby
-----> Ruby app detected
-----> Installing bundler 2.2.16
-----> Removing BUNDLED WITH version in the Gemfile.lock
-----> Compiling Ruby/Rails
WARNING:
Your app was upgraded to bundler 2.2.16.
Previously you had a successful deploy with bundler 2.0.2.
If you see problems related to the bundler version please refer to:
https://devcenter.heroku.com/articles/bundler-version#known-upgrade-issues
-----> Using Ruby version: ruby-2.5.1
-----> Installing dependencies using bundler 2.2.16
Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4
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 /tmp/build_0d31ef42/Gemfile freeze
by running ``.
The list of sources changed
You have added to the Gemfile:
* source: https://github.com/activeadmin/activeadmin.git
You have deleted from the Gemfile:
* source: git://github.com/activeadmin/activeadmin.git
Bundler Output: 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 /tmp/build_0d31ef42/Gemfile freeze
by running ``.
The list of sources changed
You have added to the Gemfile:
* source: https://github.com/activeadmin/activeadmin.git
You have deleted from the Gemfile:
* source: git://github.com/activeadmin/activeadmin.git
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app.
! Push failed`