ruby - Rails and Capistrano missing gems -
i have problem missed gems when tried deploy rails app vps. can me?
capistrano.log
bundle check --path /home/root/apps/appname/shared/bundle debug [09094abf] [31mthe following gems missing[0m [31m * net-scp (1.2.1)[0m [31m * sshkit (1.11.4)[0m [31m * airbrussh (1.1.1)[0m [31m * debug_inspector (0.0.2)[0m [31m * binding_of_caller (0.7.2)[0m [31m * byebug (9.0.6)[0m [31m * capistrano-harrow (0.5.3)[0m [31m * capistrano (3.6.1)[0m [31m * capistrano-bundler (1.2.0)[0m [31m * capistrano-rails (1.2.0)[0m [31m * capistrano-rvm (0.1.2)[0m [31m * capistrano3-puma (1.2.1)[0m [31m * spring (2.0.0)[0m [31m * web-console (2.3.0)[0m [33minstall missing gems `bundle install`
you must use capistrano/bundler gem bundler tasks (like bundle install
) in deploy.
basically, must add capistrano/bundler
in gemfile , require in capfile using command below:
require 'capistrano/bundler'
thereby capistrano run bundle install
task during deploy , problem solved.
Comments
Post a Comment