Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commented out lines in .railsrc file should not be treated as arguments #50904

Merged

Conversation

williantenfen
Copy link
Contributor

@williantenfen williantenfen commented Jan 28, 2024

Commented out lines in .rc file should not be treated as arguments when using rails new generator command.

Motivation / Background

This Pull Request has been created because railsrc file doesn't handles commented out lines (#)
Issue #50899

Detail

This Pull Request changes Railtie ARGVScrubber to ignore text after # symbols

Additional information

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one change. Changes that are unrelated should be opened in separate PRs.
  • Commit message has a detailed description of what changed and why. If this PR fixes a related issue include it in the commit message. Ex: [Fix #issue-number]
  • Tests are added or updated if you fix a bug or add a feature.
  • CHANGELOG files are updated for the changed libraries if there is a behavior change or additional feature. Minor bug fixes and documentation changes should not be included.

@rails-bot rails-bot bot added the railties label Jan 28, 2024
@williantenfen williantenfen force-pushed the support-comments-on-railsrc-file branch from 13c5e77 to 6887894 Compare January 28, 2024 21:24
@williantenfen
Copy link
Contributor Author

buildkite failure not related... seems like actioncable integration spec couldn't launch firefox 63

@rafaelfranca rafaelfranca force-pushed the support-comments-on-railsrc-file branch from 6887894 to ba214df Compare January 29, 2024 17:55
Commented out lines in .rc file should not be treated as arguments when
using rails new generator command. [Fix rails#50899]
@rafaelfranca rafaelfranca force-pushed the support-comments-on-railsrc-file branch from ba214df to 35f132e Compare January 29, 2024 17:56
@rafaelfranca rafaelfranca merged commit fac3f20 into rails:main Jan 29, 2024
4 checks passed
@williantenfen williantenfen deleted the support-comments-on-railsrc-file branch January 30, 2024 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants