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
Delete from Database with Specific Details in Ruby
Rspec Hook After Report Gets Created
Rails Strong Params - Using Fields from Has_Many Object
Ruby Stack Failed to Deploy on Google Developers Console
Is There a Way of Changing Regular Expressions to a Range of Numbers in Ruby on Rails
Nomethoderror: Undefined Method '[]' for #<Activerecord::Migration:0X000000033Fedc0>
How to Run Code After Ruby Kernel.Exec
Show All the Table Entries That Belong to a Specific Entry in Rails
Adding a String in Front of a Parameter for a Form
Pulling a Value from One CSV Based on a Value in Another
Duplicates in 2 Dimensional Array
How to Specify Rvm Gemsets for Rails Gem Whenever
How to Run Selenium Script on Ie