gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL https://get.rvm.io | bash -s stable
rvm install ruby-2.4.1
ruby -v
https://ruby-china.org/wiki/rvm-guide
https://gems.ruby-china.org/
以上是安装 ruby 环境,最后参考 ruby-china 链接修改 ruby gem 源为墙内源,如果有翻墙条件则不需要
git clone [email protected]:umbrella/umbrella.git
cd path/to/umbrella
bundle install
cap production deploy:restart