add initialize module
This commit is contained in:
parent
5977c8224d
commit
73c350f93c
|
@ -11,6 +11,13 @@ begin
|
|||
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