fix error
This commit is contained in:
parent
2d55dd83c3
commit
b7353a5acb
|
@ -4,6 +4,8 @@ $:.push File.expand_path("../lib", __FILE__)
|
|||
# Maintain your gem's version:
|
||||
require "announcement/version"
|
||||
require 'json'
|
||||
bundle_update_flag = ARGV[0]=='update' || ARGV[0]=='install'
|
||||
if bundle_update_flag
|
||||
env_pwd = ENV['PWD']
|
||||
app_path = File.expand_path(__dir__)
|
||||
template_path = env_pwd + '/app/templates'
|
||||
|
@ -211,6 +213,7 @@ else
|
|||
end
|
||||
#system("cp -rf #{app_path}/temp_file/app #{env_pwd}")
|
||||
end
|
||||
end
|
||||
# Describe your gem and declare its dependencies:
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "announcement"
|
||||
|
|
Loading…
Reference in New Issue