diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-11-05 01:35:28 -0800 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-11-05 01:35:28 -0800 |
commit | 7d17b1dedbce7daf5c5c5b39eff1c2f5661fab0e (patch) | |
tree | 4b36b61e883682a2fc6f846ef9f4b91028343c86 /railties/bin/rails | |
parent | 026d0555685087845b74dd87a0417b5a164b1c13 (diff) | |
parent | 01ef2c1943cd813f3fd262602f518640f66db834 (diff) | |
download | rails-7d17b1dedbce7daf5c5c5b39eff1c2f5661fab0e.tar.gz rails-7d17b1dedbce7daf5c5c5b39eff1c2f5661fab0e.tar.bz2 rails-7d17b1dedbce7daf5c5c5b39eff1c2f5661fab0e.zip |
Merge pull request #12752 from notalex/expand_path_refactoring
Refactor File.expand_path usage to remove additional File.join
Diffstat (limited to 'railties/bin/rails')
-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 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__) |