Got error message when I install Capistrano, stuck at deployment for two days.
What's the reason it doesn't work with Capistrano 3? Rails 5.2.1.1 has an important security fix that you'll want to get running in production as soon as possible so your server doesn't get hacked.
Hi Chris, which version of rails did you use in your tutorial? Did you test with Rails 5.2.1.1 ?
Hi Christ, i have the same error on capistrano : LoadError: cannot load such file -- capistrano-rails
group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
# adding capistrano
gem 'capistrano', '~> 3.11'
gem 'capistrano-passenger', '~> 0.2.0'
gem 'capistrano-rails', '~> 1.4'
gem 'capistrano-rbenv', '~> 2.1', '>= 2.1.4'
end
and my Capfile
# Load DSL and set up stages
require 'capistrano/setup'
# Include default deployment tasks
require 'capistrano/deploy'
require 'capistrano/scm/git'
install_plugin Capistrano::SCM::Git
require 'capistrano-rails'
require 'capistrano/rbenv'
require 'capistrano/passenger'
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
set :rbenv_type, :user
set :rbenv_ruby, '2.6.5'
i don't know what happend.
thanks