diff options
Diffstat (limited to 'railties/environments/boot.rb')
-rw-r--r-- | railties/environments/boot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/environments/boot.rb b/railties/environments/boot.rb index b71c198db3..1e9f1b109d 100644 --- a/railties/environments/boot.rb +++ b/railties/environments/boot.rb @@ -93,7 +93,7 @@ module Rails end def parse_gem_version(text) - $1 if text =~ /^[^#]*RAILS_GEM_VERSION\s*=\s*'([!~<>=]*\s*[\d.]+)'/ + $1 if text =~ /^[^#]*RAILS_GEM_VERSION\s*=\s*["']([!~<>=]*\s*[\d.]+)["']/ end private |