Failed to Install Gems via Bundler. Remote: ! Remote: Remote: ! Push Rejected, Failed to Compile Ruby App Remote:

Failed to install gems via Bundler. remote: ! remote: remote: ! Push rejected, failed to compile Ruby app remote:

Does not that mean simply that your Gemfile/Gemfile.lock in heroku are out of sync? If bundle install modifies Gemfile.lock, you should commit that and then push to heroku.

Another problem could be too old bundler. gem update bundler ; bundle install would fix that problem, if that's an issue.

Heroku push rejected, failed to install gems via Bundler

I don't think it's a Rails version problem, nor is it specific to Heroku. (I hit the same problem today, when running bundle install on my local development machine, with Rails 3.0.3.)

Running bundle update locally, as Andrew suggested, fixes the issue.

Edit:
As suggested in the comments: remember to git add ., git commit -m "message"

heroku push rejected, failed to compile Ruby app

I was actually able to solve the issue. I found out I was trying to push the project to another branch (not the master branch). I solved the issue by merging the branch with master branch and pushed it again.



Related Topics



Leave a reply



Submit