```ruby
lock '3.8.2'

set :application, 'evemonk'
set :repo_url, 'git@github.com:biow0lf/evemonk.git'

set :rbenv_type, :user
set :rbenv_ruby, File.read('.ruby-version').strip

set :linked_files, %w[config/database.yml config/secrets.yml config/newrelic.yml .env]
set :linked_dirs, %w[bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system public/assets]
set :config_files, %w[database.yml]

set :deploy_to, '/home/evemonkapp/www'

set :keep_releases, 2

namespace :deploy do
  after :restart, :clear_cache do
    on roles(:web), in: :groups, limit: 3, wait: 10 do
      # Here we can do anything such as:
      # within release_path do
      #   execute :rake, 'cache:clear'
      # end
    end
  end

  after :finishing, 'systemd:restart'
end
```

Update capistrano lock version to 3.9.0
user
```ruby
lock '3.9.0'

set :application, 'evemonk'
set :repo_url, 'git@github.com:biow0lf/evemonk.git'

set :rbenv_type, :user
set :rbenv_ruby, File.read('.ruby-version').strip

set :linked_files, %w[config/database.yml config/secrets.yml config/newrelic.yml .env]
set :linked_dirs, %w[bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system public/assets]
set :config_files, %w[database.yml]

set :deploy_to, '/home/evemonkapp/www'

set :keep_releases, 2

namespace :deploy do
  after :restart, :clear_cache do
    on roles(:web), in: :groups, limit: 3, wait: 10 do
      # Here we can do anything such as:
      # within release_path do
      #   execute :rake, 'cache:clear'
      # end
    end
  end

  after :finishing, 'systemd:restart'
end
```
assistant