mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
use File.join rather than depend on Pathname
This commit is contained in:
parent
9875574bbf
commit
880481a355
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ module Rails
|
|||
|
||||
#Create required tmp directories if not found
|
||||
%w(cache pids sessions sockets).each do |dir_to_make|
|
||||
FileUtils.mkdir_p(Rails.root.join('tmp', dir_to_make))
|
||||
FileUtils.mkdir_p(File.join(Rails.root, 'tmp', dir_to_make))
|
||||
end
|
||||
|
||||
unless options[:daemonize]
|
||||
|
|
Loading…
Reference in a new issue