diff --git a/.ruby-version b/.ruby-version index 6a81b4c83..818bd47ab 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.7.8 +3.0.6 diff --git a/Capfile b/Capfile index 7f36a40d9..27ce9e289 100644 --- a/Capfile +++ b/Capfile @@ -24,6 +24,6 @@ install_plugin Capistrano::SCM::Git #require 'capistrano/rails/migrations' require 'capistrano/rails' require 'capistrano/locally' - +require 'capistrano/yarn' # Loads custom tasks from `lib/capistrano/tasks' if you have any defined. Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r } diff --git a/Gemfile b/Gemfile index dcd832c78..5b1cf0e50 100644 --- a/Gemfile +++ b/Gemfile @@ -68,6 +68,7 @@ group :development do gem 'capistrano-locally', require: false gem 'capistrano-passenger', require: false gem 'capistrano-rails', '~> 1.4', require: false + gem 'capistrano-yarn', require: false gem 'ed25519', '>= 1.2', '< 2.0', require: false # https://github.com/miloserdow/capistrano-deploy/issues/42 gem 'html2haml' gem 'listen' diff --git a/Gemfile.lock b/Gemfile.lock index cd5b7cc24..0c80ea7b9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -109,6 +109,8 @@ GEM capistrano-rbenv (2.2.0) capistrano (~> 3.1) sshkit (~> 1.3) + capistrano-yarn (2.0.2) + capistrano (~> 3.0) capybara (3.39.2) addressable matrix @@ -383,6 +385,7 @@ DEPENDENCIES capistrano-passenger capistrano-rails (~> 1.4) capistrano-rbenv + capistrano-yarn capybara chart-js-rails cube-ruby