【发布时间】:2015-08-06 17:10:34
【问题描述】:
我正在将 Heroku 上的生产应用程序升级到 Cedar-14。我分叉了我的暂存应用程序heroku fork -a v-upgrade v-upgrade2,验证了分叉版本已在 Cedar-10 上启动并运行,将堆栈设置为 Cedar-14,创建了一个虚拟提交,并在推送时收到以下信息:
~/documents/coding/cycling/velopro$ git push upgrade2 currentdev:master
Counting objects: 11833, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (7014/7014), done.
Writing objects: 100% (11833/11833), 91.20 MiB | 1.05 MiB/s, done.
Total 11833 (delta 8521), reused 6407 (delta 4535)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching custom git buildpack... done
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.2.0
remote: -----> Installing gsl
remote: -----> Installing dependencies using 1.9.7
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Could not load OpenSSL.
remote: You must recompile Ruby with OpenSSL support or change the sources in your
remote: Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL using
remote: RVM are available at rvm.io/packages/openssl.
remote: Bundler Output:
remote: Could not load OpenSSL.
remote: You must recompile Ruby with OpenSSL support or change the sources in your
remote: Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL using
remote: RVM are available at rvm.io/packages/openssl.
remote: !
remote: ! Failed to install gems via Bundler.
remote: !
remote:
remote: ! Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy....
remote:
remote: ! Push rejected to v-upgrade2.
remote:
To git@heroku.com:v-upgrade2.git
! [remote rejected] currentdev -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:v-upgrade2.git'
我再次确认我仍然可以毫无问题地推送到 Heroku 上的原始暂存应用程序 (v-upgrade),因此它们之间的唯一区别似乎是 Cedar 堆栈。
有没有其他人遇到过在 Cedar-14 上加载 OpenSSL 的捆绑程序问题?有没有办法在 Heroku 上“使用 OpenSSL 支持重新编译 Ruby”?
提前感谢您的帮助!
【问题讨论】:
标签: ruby heroku openssl bundler