From cdf4d421c1be69094c4ad17ffbacf34c63924530 Mon Sep 17 00:00:00 2001 From: BOHUNG Date: Wed, 1 Apr 2020 17:20:43 +0800 Subject: [PATCH] test --- patchfile.gemspec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/patchfile.gemspec b/patchfile.gemspec index 978ad48..afb3ca1 100644 --- a/patchfile.gemspec +++ b/patchfile.gemspec @@ -88,10 +88,14 @@ begin end f.close puts "finish change application_helper.rb in #{ENV['PWD']}/app/helpers/" - Site.first.update(:display_title_in_frontend=>false) rescue puts "Permission denied in #{ENV['PWD']}/app/helpers/application_helper.rb" end +begin + Site.first.update(:display_title_in_frontend=>false) +rescue + puts 'unable to close title display in frontend.' +end # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "patchfile"