0
我試圖按照https://github.com/cloudfoundry/java-buildpack/#building-packages中的步驟在Windows 7系統上創建脫機編譯包。我沒有在這個步驟:由於證書問題,cloudfoundry buildpack編譯失敗
束EXEC耙清潔套裝
錯誤日誌:
[DownloadCache] WARN Unable to download https://java-buildpack.cloudfoundry.org/groovy/index.yml into cache build/staging/resources/cache: SSL_connect returned=1 errno=0 state=error: certificate verify failed
rake aborted!
Unable to find cached file for https://java-buildpack.cloudfoundry.org/groovy/index.yml
C:/rover/buildpack_release/java-buildpack-master/lib/java_buildpack/util/cache/download_cache.rb:74:in `get'
C:/rover/buildpack_release/java-buildpack-master/rakelib/dependency_cache_task.rb:166:in `get_from_cache'
C:/rover/buildpack_release/java-buildpack-master/rakelib/dependency_cache_task.rb:158:in `block (2 levels) in uris'
C:/rover/buildpack_release/java-buildpack-master/rakelib/dependency_cache_task.rb:156:in `each'
C:/rover/buildpack_release/java-buildpack-master/rakelib/dependency_cache_task.rb:156:in `block in uris'
C:/rover/buildpack_release/java-buildpack-master/rakelib/dependency_cache_task.rb:155:in `each'
C:/rover/buildpack_release/java-buildpack-master/rakelib/dependency_cache_task.rb:155:in `uris'
C:/rover/buildpack_release/java-buildpack-master/rakelib/dependency_cache_task.rb:44:in `initialize'
C:/rover/buildpack_release/java-buildpack-master/Rakefile:40:in `new'
C:/rover/buildpack_release/java-buildpack-master/Rakefile:40:in `<top (required)>'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-12.0.0/lib/rake/rake_module.rb:28:in `load'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-12.0.0/lib/rake/rake_module.rb:28:in `load_rakefile'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-12.0.0/lib/rake/application.rb:687:in `raw_load_rakefile'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-12.0.0/lib/rake/application.rb:96:in `block in load_rakefile'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-12.0.0/lib/rake/application.rb:95:in `load_rakefile'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-12.0.0/lib/rake/application.rb:79:in `block in run'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-12.0.0/lib/rake/application.rb:77:in `run'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
C:/Ruby22-x64/bin/rake:23:in `load'
C:/Ruby22-x64/bin/rake:23:in `<main>'
我已經提到bundle install fails with SSL certificate verification error但在更新的寶石沒有幫助我。我不確定rvm在這裏的作用,但是當我嘗試使用https://rvm.io/rvm/install安裝它時,我從兩臺服務器都收到服務器超時。 任何幫助表示讚賞。提前致謝。