Capistrano ::铁路 Capistrano v3的Rails特定任务: cap deploy:migrate cap deploy:compile_assets 安装 使用require: false将这些Capistrano宝石添加到应用程序的Gemfile中require: false : group :development do gem "capistrano" , "~> 3.10" , require : false gem "capistrano-rails" , "~> 1.6" , require : false end 运行以下命令以安装gem: