Friday, June 17, 2011

Solution: Error while pushing updated Gemfile into heroku

Error:

FAILED: http://devcenter.heroku.com/articles/bundler
! Heroku push rejected, failed to install gems via Bundler


your should commit the modified files first, then use the below line to refresh your Gemfile.lock and then add & commit with git.

rm -rf .bundle && bundle install && git add Gemfile.lock && git commit -m "Added Gemfile.lock"

make use of heroku hosting!!! Its really awesome!