check if mongoid updated
This commit is contained in:
parent
c11bc42440
commit
0fa9afb5f0
|
@ -175,6 +175,7 @@ if bundle_update_flag
|
|||
Bundler.with_clean_env{%x[cp -f '#{app_path}'/temp_file/Gemfile '#{env_pwd}'/Gemfile]}
|
||||
if system("cd #{env_pwd} && git branch --contains '2f23511469505bd114df2c863a477a8730bcdefa'") #update mongoid version
|
||||
command4 = ""
|
||||
puts 'mongoid has been updated!'
|
||||
else
|
||||
command4 = ";cp -rf #{app_path}/temp_file/app #{env_pwd};cp -rf #{app_path}/temp_file/config #{env_pwd}"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue