Permalink
Browse files

use File.join rather than depend on Pathname

  • Loading branch information...
tenderlove committed May 23, 2012
1 parent 9875574 commit 880481a355e0017c43d6ff14b2d1a657548d06bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/commands/server.rb
@@ -69,7 +69,7 @@ def start
#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]

0 comments on commit 880481a

Please sign in to comment.