diff --git a/patchfile.gemspec b/patchfile.gemspec index e8db3ee..fbab191 100644 --- a/patchfile.gemspec +++ b/patchfile.gemspec @@ -88,7 +88,7 @@ begin end f.close puts "finish change application_helper.rb in #{ENV['PWD']}/app/helpers/" -rescue +rescue => e puts "Permission denied in #{ENV['PWD']}/app/helpers/application_helper.rb" f.close end