From 01ef2c1943cd813f3fd262602f518640f66db834 Mon Sep 17 00:00:00 2001 From: Alex Johnson Date: Mon, 4 Nov 2013 17:27:23 +0530 Subject: Refactor File.expand_path usage to remove additional File.join --- railties/lib/rails/generators/rails/app/app_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/rails') 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 -- cgit v1.2.3