aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin/rails
diff options
context:
space:
mode:
Diffstat (limited to 'railties/bin/rails')
-rwxr-xr-xrailties/bin/rails2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/bin/rails b/railties/bin/rails
index c11d65a08e..82c17cabce 100755
--- a/railties/bin/rails
+++ b/railties/bin/rails
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-git_path = File.join(File.expand_path('../../..', __FILE__), '.git')
+git_path = File.expand_path('../../../.git', __FILE__)
if File.exist?(git_path)
railties_path = File.expand_path('../../lib', __FILE__)