diff options
Diffstat (limited to 'railties/builtin')
-rw-r--r-- | railties/builtin/rails_info/rails/info.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/builtin/rails_info/rails/info.rb b/railties/builtin/rails_info/rails/info.rb index 176abfc0f8..b73cc13409 100644 --- a/railties/builtin/rails_info/rails/info.rb +++ b/railties/builtin/rails_info/rails/info.rb @@ -32,7 +32,7 @@ module Rails end def freeze_edge_version - if File.exists?(rails_vendor_root) + if File.exist?(rails_vendor_root) begin Dir[File.join(rails_vendor_root, 'REVISION_*')].first.scan(/_(\d+)$/).first.first rescue |