diff --git a/CHANGELOG.md b/CHANGELOG.md index 33d57a90a..5038fdc47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## Master + +##### Bug Fixes + +* Fix issue where jazzy could not be installed from Gemfile due to + SourceKitten symlinks already being present. + [William Meleyal](https://github.com/meleyal) + [#438](https://github.com/realm/jazzy/issues/438) + ## 0.7.0 ##### Breaking diff --git a/lib/jazzy/SourceKitten/Rakefile b/lib/jazzy/SourceKitten/Rakefile index 3a8fd87bc..d69b6909e 100644 --- a/lib/jazzy/SourceKitten/Rakefile +++ b/lib/jazzy/SourceKitten/Rakefile @@ -6,6 +6,8 @@ task :prepare do Dir.chdir(fw) do basename = File.basename(fw, '.framework') FileUtils.rm_f(basename) + FileUtils.rm_f('Versions/Current') + FileUtils.rm_f('Resources') File.symlink('A', 'Versions/Current') File.symlink("Versions/Current/#{basename}", "#{basename}")