diff --git a/lib/cocoapods-core/specification/set/statistics.rb b/lib/cocoapods-core/specification/set/statistics.rb index a364732d5..4c14e469e 100644 --- a/lib/cocoapods-core/specification/set/statistics.rb +++ b/lib/cocoapods-core/specification/set/statistics.rb @@ -221,7 +221,7 @@ def compute_creation_date(set) date = get_value(set, :creation_date) unless date Dir.chdir(set.sources.first.repo) do - git_log = `git log --first-parent --format=%ct #{set.name}` + git_log = `git log --first-parent --format=%ct "#{set.name}"` creation_date = git_log.split("\n").last.to_i date = Time.at(creation_date) end