This commit is contained in:
BoHung Chiu 2022-09-24 12:28:01 +08:00
parent 89bbbb1b63
commit 00607f96bf
2 changed files with 8 additions and 0 deletions

View File

@ -161,6 +161,10 @@ else
echo "Please restart nginx by yourself!"; echo "Please restart nginx by yourself!";
fi fi
rm -f Gemfile.lock rm -f Gemfile.lock
ruby_ver=`basename $(readlink -n $rvm_prefix/rvm/rubies/default)|cut -d '-' -f 2`
if [[ ! -z "$ruby_ver" ]]; then
echo "$ruby_ver" > .ruby-version
fi
bundle install bundle install
rm -f tmp/unicorn.sock tmp/pids/unicorn.pid rm -f tmp/unicorn.sock tmp/pids/unicorn.pid
wget http://gitlab.tp.rulingcom.com/erictyl/install_r45_on_ubuntu_1804lts_doc/-/raw/master/start_site.sh -O start_site.sh wget http://gitlab.tp.rulingcom.com/erictyl/install_r45_on_ubuntu_1804lts_doc/-/raw/master/start_site.sh -O start_site.sh

View File

@ -165,6 +165,10 @@ else
echo "Please restart nginx by yourself!"; echo "Please restart nginx by yourself!";
fi fi
rm -f Gemfile.lock rm -f Gemfile.lock
ruby_ver=`basename $(readlink -n $rvm_prefix/rvm/rubies/default)|cut -d '-' -f 2`
if [[ ! -z "$ruby_ver" ]]; then
echo "$ruby_ver" > .ruby-version
fi
bundle install bundle install
rm -f tmp/unicorn.sock tmp/pids/unicorn.pid rm -f tmp/unicorn.sock tmp/pids/unicorn.pid
wget http://gitlab.tp.rulingcom.com/erictyl/install_r45_on_ubuntu_1804lts_doc/-/raw/master/start_site.sh -O start_site.sh wget http://gitlab.tp.rulingcom.com/erictyl/install_r45_on_ubuntu_1804lts_doc/-/raw/master/start_site.sh -O start_site.sh