From 86a1261fd75423b7cd7d420d70fd61366805b4c6 Mon Sep 17 00:00:00 2001 From: chiu Date: Sun, 7 Feb 2021 14:50:41 +0800 Subject: [PATCH] Update Gemfile --- temp_file/Gemfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/temp_file/Gemfile b/temp_file/Gemfile index 7330ff8..1462747 100644 --- a/temp_file/Gemfile +++ b/temp_file/Gemfile @@ -1,5 +1,11 @@ source 'https://rubygems.org' #update all site!!!!!!!! +if $0.to_s.scan('bundle').length==0 + Bundler.with_clean_env{ + flag = system("bundle show announcement") + system("bundle install") if !flag + } +end #social gems gem "omniauth-google-oauth2" gem 'googleauth', git: 'http://gitlab.tp.rulingcom.com/chiu/google-auth-library-ruby.git'