Open krschacht opened 2 days ago
I was able to reproduce the same situation.
Gemfile
source 'https://rubygems.org'
gem 'rails', '7.2.1'
Execute the following command
docker run --rm -it -v $(pwd):/app -w /app ruby:3.4.0-preview1-bullseye bash
bundle install
rails new .
I don’t have any comments on PR process. I’ll let the maintainers chime in. But I love the eagerness to get this fixed!
Steps to reproduce
Expected behavior
.ruby-version is showing
ruby-3.4.0
and:And this line of the Dockerfile is generated as:
So when you run a build you'll see it fail because it's trying to find the image with a period before the word
preview
This image does not exist. Instead, RUBY_VERSION should have a dash before the period so that it resolves to this docker image:
I manually edited the file to fix but it's worth fixing the generator.
System configuration
Rails version: 3.4.0-preview1
Ruby version: Rails 7.2.1