Keep .ruby_version file in Docker #523
Reference in New Issue
Block a user
Delete Branch "use_bundler_ruby_file_feature"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Addresses:
Good catch @robzolkos, looks like this is the default for
rails newnow?@@ -25,7 +25,7 @@ FROM base as buildRUN apt-get install --no-install-recommends -y build-essential git libpq-dev pkg-config@@ -25,7 +25,7 @@ FROM base as buildRUN apt-get install --no-install-recommends -y build-essential git libpq-dev pkg-configThe order of the
COPYcommand matters here—all the source files must come before the destination,./No
rails newwill spit out unchanged DockerfileThis functionality was reverted in Rails main. I suspect largely due to it being a generator.
I think copying over the
.ruby-versionprior to the Gemfile should work fine. Maybe is already generated so little risk in smoothing over these edges.Ahh, hadn't seen that commit. Sounds good, and we can revisit this with more scrutiny later when implementing #295