Rails app deployment fails, ruby version in Gemfile read from .ruby-version
My app uses the reasonably common practice of reading the ruby version that is specified in the
Gemfile
from the .ruby-version
file. However, when I try to deploy my app I get an error stating that the .ruby-version
file does not exist.
5 Replies
Project ID:
0fff58e7-4bf8-4141-9324-7ed371ee7803
0fff58e7-4bf8-4141-9324-7ed371ee7803
Does anyone know a way to fix this? I can't find anything in the documentation for this.
create a
.ruby-version
file?The file exists
For comparison, the app deploys without issue on Heroku.
I wonder if the .ruby-version file is not being sent to Railway's builder. Could it be in an 'ignore' file somewhere? Like .gitignore or similar?