You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the same boat. The problem you're referencing is heroku has moved past old versions of ruby. If you want to force heroku to use the stack 18 follow this link. https://devcenter.heroku.com/articles/heroku-18-stack. I however, want to move to heroku-20 by upgrading ruby to 2.7.3 or even 3.0.1. At this point I have 2.7.3 and all dependencies updated properly such that bundle install and bundle update fully builds.
I then did a heroku git:remote -a "appname", did a git add . to capture my changes to Gemfile and Gemfile.lock. I then did a git push heroku master to push my new code to heroku and it built on ruby 2.7.3 and on heroku stack 20.
I get the following fatal compile error when attempting to deploy straight from Github to Heroku:
! The Ruby version you are trying to install does not exist on this stack.
!
! You are trying to install ruby-2.5.7 on heroku-20.
Any idea how to get around Heroku's Rails dependancies without compiling everything locally?
The text was updated successfully, but these errors were encountered: