Reputation: 211
While pushing my code to Heroku, I am getting these error
Can you anybody please advice what am I missing here, is this the versioning issue or something else ?
git push heroku master
-----> Heroku receiving push
-----> Ruby/Rails app detected
-----> Detected Rails is not set to serve static_assets
Installing rails3_serve_static_assets... done
-----> Configure Rails 3 to disable x-sendfile
Installing rails3_disable_x_sendfile... done
-----> Configure Rails to log to stdout
Installing rails_log_stdout... done
-----> Gemfile detected, running Bundler version 1.0.7
Unresolved dependencies detected; Installing...
Using --without development:test
Fetching source index for http://rubygems.org/
Could not find multi_json-1.3.3 in any of the sources
FAILED: http://devcenter.heroku.com/articles/bundler
! Heroku push rejected, failed to install gems via Bundler
Upvotes: 4
Views: 419
Reputation: 1
Removed the Gemfile.lock
Reset the gemfile version to 1.3.4
ran the bundle
committed gemfile and gemfile repository
pushed to heroku
Push was successful
Upvotes: 0
Reputation: 384
multi_json-1.3.3 has been yanked in the meantime. That's why it can't be found on the rubygems server. To make it work:
Hope that helps!
Upvotes: 1
Reputation: 8100
Had the same issue too. Added the code below as a line in the Gemfile and pushed it to Heroku and it worked.
gem 'multi_json', '1.3.4'
Hope that helps!
Upvotes: 1