Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Unable to deploy on Heroku #102

Open
lammertw opened this issue Mar 12, 2021 · 4 comments
Open

Unable to deploy on Heroku #102

lammertw opened this issue Mar 12, 2021 · 4 comments

Comments

@lammertw
Copy link

Deploying on Heroku results in the following error:
Ruby ruby-2.5.3 is present on the following stacks:

Complete output:

-----> Building on the Heroku-20 stack
-----> Ruby app detected
-----> Installing bundler 1.17.3
-----> Removing BUNDLED WITH version in the Gemfile.lock
-----> Compiling Ruby/Rack
       Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-20/ruby-2.5.3.tgz -s -o - | tar zxf - ' failed on attempt 1 of 3.
       Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-20/ruby-2.5.3.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3.
 !
 !     The Ruby version you are trying to install does not exist on this stack.
 !     
 !     You are trying to install ruby-2.5.3 on heroku-20.
 !     
 !     Ruby ruby-2.5.3 is present on the following stacks:
 !     
 !     - cedar-14
 !     - heroku-16
 !     - heroku-18
 !     
 !     Heroku recommends you use the latest supported Ruby version listed here:
 !     https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
 !     
 !     For more information on syntax for declaring a Ruby version see:
 !     https://devcenter.heroku.com/articles/ruby-versions
 !
 !     Push rejected, failed to compile Ruby app.
 !     Push failed
@mshafrir-stripe
Copy link
Contributor

@lammertw are you on latest master? We added support for Heroku-20 in #100.

@lammertw
Copy link
Author

lammertw commented Mar 12, 2021 via email

@operatordevelopment
Copy link

operatordevelopment commented Mar 27, 2021

I ran into this problem because I was setting up the latest (from master branch) Stripe/iOS Basic Integration example. The README.md instructs us to

  1. Head to example-mobile-backend and click "Deploy to Heroku".

But that tree/v18.1.0 doesn't have the support for Heroku-20 you mentioned.
I switched to master and then was able to build successfully on Heroku.

Would it make sense for me to open a github issue for the Stripe/iOS Basic Integration example so they can update their link?

@Senarios
Copy link

Shift the branch to Heroku-20 click on Deploy-to-heroku it works like charms

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants