fix error

This commit is contained in:
chiu 2020-05-28 21:27:20 +08:00
parent 1e7d5c52c9
commit aac564005c
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ require 'rucaptcha/version'
app_path = File.expand_path(__dir__) app_path = File.expand_path(__dir__)
rails_path = ENV['PWD'] rails_path = ENV['PWD']
begin begin
system ("cp -r #{app_path}/config/initializers #{rails_path}/config/initializers") system ("cp -r #{app_path}/config/initializers/* #{rails_path}/config/initializers")
rescue rescue
puts 'error copy' puts 'error copy'
end end