From 8cc8204c29299b4c27af577efca69ca2d7cc4dba Mon Sep 17 00:00:00 2001 From: BOHUNG Date: Mon, 30 Sep 2019 22:50:26 +0800 Subject: [PATCH] delete unuse code --- patchfile.gemspec | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/patchfile.gemspec b/patchfile.gemspec index 38c4a4b..3a88f67 100644 --- a/patchfile.gemspec +++ b/patchfile.gemspec @@ -2,22 +2,6 @@ $:.push File.expand_path("../lib", __FILE__) # Maintain your gem's version: require "patchfile/version" -app_path = File.expand_path(__dir__) -ckeditor_path = ENV['PWD'] + '/app/assets/javascripts' -puts 'copying CKEDITOR' -begin - system ('cp -r '+ app_path + '/ckeditor/ ' + ckeditor_path) - puts ckeditor_path -rescue - puts 'error copy' -end -begin - system("kill -s TERM `cat tmp/pids/unicorn.pid`") - system("bundle exec unicorn_rails -c config/unicorn.rb -D -E development") - puts 'successfully initialize' -rescue - puts 'error initialize' -end # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "patchfile"