fix bug
This commit is contained in:
parent
186dad508d
commit
c2d616d95e
|
@ -173,7 +173,8 @@ if bundle_update_flag
|
|||
end
|
||||
Bundler.with_clean_env{%x[cp -f '#{env_pwd}'/Gemfile '#{env_pwd}'/Gemfile.bak123]}
|
||||
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
|
||||
check_version = %x[cd #{env_pwd} && git branch --contains '2f23511469505bd114df2c863a477a8730bcdefa']
|
||||
if check_version.strip != '' #update mongoid version
|
||||
command4 = ""
|
||||
puts 'mongoid has been updated!'
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue