Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add version awareness to rails db:system:change #35522
I opted for 2 gsubs to keep the logic simple, and keep support for comment substitutes. If we don't care about the comments, I can merge the two regexes to only sub the gem entry once.