aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin
diff options
context:
space:
mode:
authorAlex Johnson <notalexjohnson@gmail.com>2013-11-04 17:27:23 +0530
committerAlex Johnson <notalexjohnson@gmail.com>2013-11-05 10:50:03 +0530
commit01ef2c1943cd813f3fd262602f518640f66db834 (patch)
tree4ba7a87221e1fcb21a624ebe7afa710fa2e61ac7 /railties/bin
parent84eac5dab8b0fe9ee20b51250e52ad7bfea36553 (diff)
downloadrails-01ef2c1943cd813f3fd262602f518640f66db834.tar.gz
rails-01ef2c1943cd813f3fd262602f518640f66db834.tar.bz2
rails-01ef2c1943cd813f3fd262602f518640f66db834.zip
Refactor File.expand_path usage to remove additional File.join
Diffstat (limited to 'railties/bin')
-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__)