From a018eed6118a4fe7887ffd2e08c0a5e305891095 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 12 Apr 2017 14:47:37 -0400 Subject: [PATCH] expand tmp for osx --- lib/git_importer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git_importer.rb b/lib/git_importer.rb index 9ad1b15c6f2..e7c175e2677 100644 --- a/lib/git_importer.rb +++ b/lib/git_importer.rb @@ -7,7 +7,7 @@ class GitImporter if @url.start_with?("https://github.com") && !@url.end_with?(".git") @url += ".git" end - @temp_folder = "#{Dir.tmpdir}/discourse_theme_#{SecureRandom.hex}" + @temp_folder = "#{Pathname.new(Dir.tmpdir).realpath}/discourse_theme_#{SecureRandom.hex}" end def import!