For Ruby App
Configuration options
- Get version:
ruby -v
- App root directory: /usr/src/app
- CLI:
ruby
,gem
,bundle
,rake
- Package manager:
gem
to install one package,bundle
to install packages list - Web framework: Rails, Sinatra, jekyll
- Ruby application server: WEBrick, Phusion passenger, Puma
Deploy a Ruby application
Refer to: App Runtime tutorials
Manage runtime
-
Change gem source URL
gem sources --remove https://rubygems.org && gem sources -a https://gems.ruby-china.com
-
Change bundle source URL
bundle config mirror.https://rubygems.org https://gems.ruby-china.com