Skip to content

Add an aside callout about dockerfile-rails gem#1184

Closed
heliocola wants to merge 1 commit into
superfly:mainfrom
heliocola:dockerfiles-rails
Closed

Add an aside callout about dockerfile-rails gem#1184
heliocola wants to merge 1 commit into
superfly:mainfrom
heliocola:dockerfiles-rails

Conversation

@heliocola

Copy link
Copy Markdown

Summary of changes

Add a notice about dockerfile-rails gem

Related Fly.io community and GitHub links

Update the Update section here: https://fly.io/docs/rails/getting-started/dockerfiles/#updates

Notes

If you have a Rails app that was created a while ago, you may not have dockerfile-rails gem in your Gemfile, so this command will not work! :-D

@andie787 andie787 requested a review from rubys June 11, 2024 21:06
@kcmartin

kcmartin commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Thanks for this, and sorry for the long delay! Good catch. I've re-applied it in #2421 with a small polish (fixed the gem name typo, linked the canonical rubys/dockerfile-rails repo to match the rest of the page, and used the standard callout markup). Closing in favor of that. Appreciate the contribution!

@kcmartin kcmartin closed this Jul 1, 2026
kcmartin added a commit that referenced this pull request Jul 2, 2026
Running 'bin/rails generate dockerfile' on an older Rails app that
predates the dockerfile-rails gem fails with 'Could not find generator
dockerfile'. Add a callout pointing users to add the gem first.

Supersedes #1184.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants