Skip to content

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