cweems / twilio-bulk-lookup

A simple Rails app that takes a CSV of phone numbers and runs a Twilio Lookup.
MIT License
11 stars 14 forks source link

Heroku Deployment Issue - Upgrade Ruby Version #23

Open jason200434 opened 3 years ago

jason200434 commented 3 years ago

Could somebody please upgrade the ruby version so I can use this? I would do it myself but I am way to busy at the moment, could someone help me out here, please?

When I try to deploy to Heroku, it fails and gives the following message:

"-----> Building on the Heroku-20 stack -----> Determining which buildpack to use for this app ! Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used. Detected buildpacks: Ruby,Node.js See https://devcenter.heroku.com/articles/buildpacks#buildpack-detect-order -----> Ruby app detected -----> Installing bundler 1.17.3 -----> Removing BUNDLED WITH version in the Gemfile.lock -----> Compiling Ruby/Rails 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.1.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.1.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.1 on heroku-20. !
! Ruby ruby-2.5.1 is present on the following stacks: !
! - 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"

dooley1001 commented 3 years ago

Twilio support here.

Looking at the error alone it seems like the version of ruby you are using is not supported for this version of Heroku - Can you try upgrading and trying again ? - https://devcenter.heroku.com/articles/ruby-support#supported-runtimes

It seems ruby-2.5.1 is only present on the following stacks - heroku-18 hence the error. Moving forward you will need to either build with Heroku-18 or bump the ruby version in the gemfile to a later version.

jason200434 commented 3 years ago

Yes I have had to hire a Ruby developer to fix it

On Tue, Aug 31, 2021, 8:15 AM David Dooley @.***> wrote:

Twilio support here.

Looking at the error alone it seems like the version of ruby you are using is not supported for this version of Heroku - Can you try upgrading and trying again ? - https://devcenter.heroku.com/articles/ruby-support#supported-runtimes

It seems ruby-2.5.1 is only present on the following stacks - heroku-18 hence the error. Moving forward you will need to either build with Heroku https://devcenter.heroku.com/articles/heroku-18-stack#using-heroku-18-18 or bump the ruby version in the gemfile to a later version.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cweems/twilio-bulk-lookup/issues/23#issuecomment-909181292, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVLHHPVLLF25CXUQJ6IKF3LT7TBU5ANCNFSM5C3ZZ36A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.