aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
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/lib
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/lib')
-rw-r--r--railties/lib/rails/generators/rails/app/app_generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb
index 3c62e7a4d2..e3e9c501ad 100644
--- a/railties/lib/rails/generators/rails/app/app_generator.rb
+++ b/railties/lib/rails/generators/rails/app/app_generator.rb
@@ -324,7 +324,7 @@ module Rails
end
def self.default_rc_file
- File.join(File.expand_path('~'), '.railsrc')
+ File.expand_path('~/.railsrc')
end
private