# config valid only for current version of Capistrano lock "3.7.2" set :application, "nemo_encoder" set :repo_url, "git@bitbucket.org:code2lab/nemo_encoder.git" #set :branch, 'master' # Default deploy_to directory is /var/www/my_app_name set :deploy_user, 'ubuntu' # setup rbenv. set :rbenv_type, :global set :rbenv_prefix, "RBENV_ROOT=#{fetch(:rbenv_path)} RBENV_VERSION=#{fetch(:rbenv_ruby)} #{fetch(:rbenv_path)}/bin/rbenv exec" set :rbenv_map_bins, %w{rake gem bundle ruby rails} # how many old releases do we want to keep, not much set :keep_releases, 5 # files we want symlinking to specific entries in shared set :linked_files, %w{config/database.yml config/secrets.yml} # dirs we want symlinking to shared set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system} # what specs should be run before deployment is allowed to # continue, see lib/capistrano/tasks/run_tests.cap set :tests, [] #set :pty, true set :pty, true # Default branch is :master # ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp # Default deploy_to directory is /var/www/my_app_name # set :deploy_to, "/var/www/my_app_name" # Default value for :format is :airbrussh. # set :format, :airbrussh # You can configure the Airbrussh format using :format_options. # These are the defaults. # set :format_options, command_output: true, log_file: "log/capistrano.log", color: :auto, truncate: :auto # Default value for :pty is false # set :pty, true # Default value for :linked_files is [] # append :linked_files, "config/database.yml", "config/secrets.yml" # Default value for linked_dirs is [] # append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "public/system" # Default value for default_env is {} # set :default_env, { path: "/opt/ruby/bin:$PATH" } # Default value for keep_releases is 5 # set :keep_releases, 5