为什么我得到在任何来源找不到multi_json-1.3.1? [英] Why I am getting Could not find multi_json-1.3.1 in any of the sources?
本文介绍了为什么我得到在任何来源找不到multi_json-1.3.1?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
git push heroku master
显示以下错误消息。
找不到multi_json-1.3 .1在任何来源
!
!无法通过Bundler安装宝石。
!
! Heroku推送拒绝,没有编译Ruby / rails应用程序
这是我的Gemfile
gem'rails','3.2.3'
gem'pg'
group:assets do
gem' sass-rails','〜> 3.2.3'
gem'coffee-rails','〜> 3.2.1'
gem'therubyracer',:platform => :ruby
gem'uglifier','> = 1.0.3'
end
gem'jquery-rails'
解决方案
删除Gemfile.lock文件,并运行bundle install。
这适用于我!
I have a simple Rails application I want to deploy to Heroku. When I run the below command
git push heroku master
The below error message is displayed.
Could not find multi_json-1.3.1 in any of the sources
!
! Failed to install gems via Bundler.
!
! Heroku push rejected, failed to compile Ruby/rails app
Here is my Gemfile
gem 'rails', '3.2.3'
gem 'pg'
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'therubyracer', :platform => :ruby
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
解决方案
Delete the Gemfile.lock file, and run bundle install. This works for me!
这篇关于为什么我得到在任何来源找不到multi_json-1.3.1?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文