Commit d63e2ab5 authored by Eloy Durán's avatar Eloy Durán

Always create the CACHE_ROOT directory. Fixes #917.

parent 23c0b5dc
......@@ -24,6 +24,7 @@ module Pod
# classes build and configure the downloader from scratch.
#
CACHE_ROOT = Pathname.new(File.join(ENV['HOME'], 'Library/Caches/CocoaPods'))
CACHE_ROOT.mkpath unless CACHE_ROOT.exist?
# @return [Fixnum] The maximum size for the cache expressed in Mb.
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment