Heroku推送拒绝,Ruby版本被检测到,找不到net-scp-1.0.6 [英] Heroku push rejected, Ruby Version Changed Detected, Could not find net-scp-1.0.6
问题描述
计数对象:81,完成。
使用多达4个线程的Delta压缩。
压缩对象:100%(62/62),完成。
写入对象:100%(62/62),10.77 KiB,完成。
总计62(delta 49),重用0(delta 0)
----->删除符合.slugignore模式的8个文件。
----->删除.DS_Store文件
-----> Ruby / Rails应用程序检测到
----->使用Ruby版本:ruby-1.9.3
----->使用Bundler版本1.3.0.pre.5安装依赖项
检测到Ruby版本更改。清除bundler缓存。
旧:ruby 1.9.3p327(2012-11-10修订版37606)[x86_64-linux]
新建:ruby 1.9.3p392(2013-02-22修订版39386)[x86_64-linux]
运行:bundle install - 没有开发:test --path vendor / bundle --binstubs vendor / bundle / bin --deployment
从https://rubygems.org / .....获取宝石元数据..
从https://rubygems.org/获取宝石元数据
在任何来源
中找不到net-scp-1.0.6!
!无法通过Bundler安装宝石。
!
! Heroku推送拒绝,没有编译Ruby / rails应用程序
这是我的Gemfile看起来像。 p>
源'https://rubygems.org'
pre>
ruby'1.9.3'
gem'rails','〜> 3.2.11'
gem'aws-sdk'
gem'jquery-rails'
gem'jquery-ui-rails'
gem'
gem'thin'
gem'best_in_place'
gem'stripe'
gem'paperclip'
gem'coffeebeans'
gem'mail'
gem'bcrypt-ruby','〜> 3.0.0'
gem'carmen'
gem'haml'
gem'devise'
gem'sinatra','〜> 1.3.2'
gem'dynamic_form'
gem'fog','〜> 1.3.1'
gem'wicked'
gem'lazy_high_charts','〜> 1.1.5'
gem'jquery-datatables-rails'
gem'sass-rails'
group:assets do
gem'uglifier','> = 1.0.3'
gem'coffee-rails','〜> 3.2.1'
end
group:test,,development do
gem'hirb'
end
任何想法将不胜感激。谢谢。
解决方案最近,net-scp-1.0.6 gem被打了。
本地运行:
gem cleanup
bundle update
然后提交和推送,它会将net-scp更新到最新版本,你会很好。
I can't figure out what is going on here. I deployed to Heroku on Tuesday with no problem. I have not changed my Ruby version locally or on the Gemfile but heroku is telling me that I have changed Ruby Versions & it's unable to find net-scp-1.0.6. Everything works perfectly locally, I have search around and can't find anything addressing a similar problem.
Counting objects: 81, done. Delta compression using up to 4 threads. Compressing objects: 100% (62/62), done. Writing objects: 100% (62/62), 10.77 KiB, done. Total 62 (delta 49), reused 0 (delta 0) -----> Deleting 8 files matching .slugignore patterns. -----> Removing .DS_Store files -----> Ruby/Rails app detected -----> Using Ruby version: ruby-1.9.3 -----> Installing dependencies using Bundler version 1.3.0.pre.5 Ruby version change detected. Clearing bundler cache. Old: ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux] New: ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux] Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment Fetching gem metadata from https://rubygems.org/....... Fetching gem metadata from https://rubygems.org/.. Could not find net-scp-1.0.6 in any of the sources ! ! Failed to install gems via Bundler. ! ! Heroku push rejected, failed to compile Ruby/rails app
This is what my Gemfile looks like.
source 'https://rubygems.org' ruby '1.9.3' gem 'rails', '~> 3.2.11' gem 'aws-sdk' gem 'jquery-rails' gem 'jquery-ui-rails' gem 'pg' gem 'thin' gem 'best_in_place' gem 'stripe' gem 'paperclip' gem 'coffeebeans' gem 'mail' gem 'bcrypt-ruby', '~> 3.0.0' gem 'carmen' gem 'haml' gem 'devise' gem 'sinatra', '~> 1.3.2' gem 'dynamic_form' gem 'fog', '~> 1.3.1' gem 'wicked' gem 'lazy_high_charts', '~> 1.1.5' gem 'jquery-datatables-rails' gem 'sass-rails' group :assets do gem 'uglifier', '>= 1.0.3' gem 'coffee-rails', '~> 3.2.1' end group :test, :development do gem 'hirb' end
Any ideas would be appreciated. Thanks.
解决方案The net-scp-1.0.6 gem was yanked recently.
Locally, run:
gem cleanup bundle update
Then commit and push, it will update net-scp to the latest version and you'll be fine.
这篇关于Heroku推送拒绝,Ruby版本被检测到,找不到net-scp-1.0.6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!