By Neil Smith
I’m trying to get a legacy Ruby on Rails app running on the App Platform - it’s currently using ruby 2.3.1, which I realise is fairly old now - upgrading is on the cards, but ideally I’d like to get it running with this version first.
I deploy, and see this message:
The Ruby version you are trying to install does not exist on this stack.
You are trying to install ruby-2.3.1 on heroku-18.
Ruby ruby-2.3.1 is present on the following stacks:
- cedar-14
- heroku-16
Is it possible to specify the stack somehow? I can’t seem to find a configuration option for it.
Many thanks for any help!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
I’ve just checked the official documentation and it looks like the Heroku-16 stack reached end-of-life on May 1st, 2021:
https://devcenter.heroku.com/articles/heroku-16-stack
What I could suggest is either:
https://docs.digitalocean.com/products/app-platform/languages-frameworks/docker/
Let me know how it goes!
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.