Browse Source

Fix deployement with webpacker

pull/16/head
Colin Darie 2 years ago
parent
commit
6001b869bc
No known key found for this signature in database GPG Key ID: 4FB865FDBCA4BCC4
4 changed files with 6 additions and 4 deletions
  1. +1
    -1
      Capfile
  2. +1
    -1
      Gemfile
  3. +2
    -2
      Gemfile.lock
  4. +2
    -0
      config/deploy.rb

+ 1
- 1
Capfile View File

@@ -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"


+ 1
- 1
Gemfile View File

@@ -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


+ 2
- 2
Gemfile.lock View File

@@ -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)


+ 2
- 0
config/deploy.rb View File

@@ -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…
Cancel
Save