diff options
Diffstat (limited to 'railties/bin')
-rwxr-xr-x | railties/bin/rails | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/bin/rails b/railties/bin/rails index b3026e8a93..c11d65a08e 100755 --- a/railties/bin/rails +++ b/railties/bin/rails @@ -2,7 +2,7 @@ git_path = File.join(File.expand_path('../../..', __FILE__), '.git') -if File.exists?(git_path) +if File.exist?(git_path) railties_path = File.expand_path('../../lib', __FILE__) $:.unshift(railties_path) end |