Skip to content

Make version check work if version is not from ENV #2223

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

Merged
merged 1 commit into from
Dec 7, 2019
Merged

Make version check work if version is not from ENV #2223

merged 1 commit into from
Dec 7, 2019

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Dec 7, 2019

This fixes an issue where setting the Rails version in the .rails-version file would cause an "undefined method `gsub' for nil:NilClass" error, because gsub was called on the nil value of the RAILS_VERSION env var.

@JonRowe JonRowe merged commit a5e23a5 into rspec:master Dec 7, 2019
@JonRowe
Copy link
Member

JonRowe commented Dec 7, 2019

Thanks!

@mvz mvz deleted the fix-gemfile-when-rails-version-is-from-file branch December 7, 2019 19:40
JonRowe added a commit that referenced this pull request Jan 12, 2020
…rom-file

Make version check work if version is not from ENV
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.

2 participants