mirror of
https://github.com/Evolix/chexpire.git
synced 2024-04-27 14:30:49 +02:00
Fix deployement with webpacker
This commit is contained in:
parent
0436101ae7
commit
6001b869bc
2
Capfile
2
Capfile
|
@ -30,7 +30,7 @@ install_plugin Capistrano::SCM::Git
|
|||
require "capistrano/rbenv"
|
||||
# require "capistrano/chruby"
|
||||
require "capistrano/bundler"
|
||||
# require "capistrano/rails/assets"
|
||||
require "capistrano/rails/assets"
|
||||
require "capistrano/rails/migrations"
|
||||
# require "capistrano/passenger"
|
||||
require "capistrano/puma"
|
||||
|
|
2
Gemfile
2
Gemfile
|
@ -70,8 +70,8 @@ group :development do
|
|||
gem "guard"
|
||||
gem "guard-minitest"
|
||||
|
||||
gem 'capistrano-rails'
|
||||
gem "capistrano", "~> 3.10", require: false
|
||||
gem "capistrano-rails", "~> 1.4", require: false
|
||||
gem "capistrano-rbenv", require: false
|
||||
gem 'capistrano3-puma', require: false
|
||||
end
|
||||
|
|
|
@ -69,7 +69,7 @@ GEM
|
|||
capistrano-bundler (1.3.0)
|
||||
capistrano (~> 3.1)
|
||||
sshkit (~> 1.2)
|
||||
capistrano-rails (1.3.1)
|
||||
capistrano-rails (1.4.0)
|
||||
capistrano (~> 3.1)
|
||||
capistrano-bundler (~> 1.1)
|
||||
capistrano-rbenv (2.1.3)
|
||||
|
@ -323,7 +323,7 @@ DEPENDENCIES
|
|||
binding_of_caller
|
||||
bootsnap (>= 1.1.0)
|
||||
capistrano (~> 3.10)
|
||||
capistrano-rails
|
||||
capistrano-rails (~> 1.4)
|
||||
capistrano-rbenv
|
||||
capistrano3-puma
|
||||
capybara (>= 2.15, < 4.0)
|
||||
|
|
|
@ -45,3 +45,5 @@ append :linked_files,
|
|||
# set :ssh_options, verify_host_key: :secure
|
||||
|
||||
set :whenever_identifier, ->{ "#{fetch(:application)}_#{fetch(:stage)}" }
|
||||
|
||||
set :migration_role, :app
|
||||
|
|
Loading…
Reference in a new issue