diff --git a/ruling_weather.gemspec b/ruling_weather.gemspec index d5fad71..4144b41 100644 --- a/ruling_weather.gemspec +++ b/ruling_weather.gemspec @@ -12,7 +12,7 @@ if bundle_update_flag if !folder.include?('mobile') moudle_path = "#{folder}modules/ruling_weather/" if !Dir.exist?(moudle_path) && Dir.exist?(File.dirname(moudle_path)) - Bundler.with_clean_env{system ('cp -r '+ app_path + '/modules/ ' + folder)} + Bundler.with_clean_env{system ('cp -r '+ app_path + '/modules/* ' + folder + '/modules/.')} end end end