delete unuse code
This commit is contained in:
parent
e51ec5ebb1
commit
8cc8204c29
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue