Skip to content

Commit 81cb43d

Browse files
committed
add gem mina puma
1 parent 1f035dd commit 81cb43d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ gem 'swagger-docs', '0.2.9'
3131
gem "redis", '3.3.0'
3232

3333
gem 'mina', '1.0.2'
34+
gem 'mina-puma', :require => false
3435

3536
group :development, :test do
3637
# Call 'byebug' anywhere in the code to stop execution and get a debugger console

config/deploy.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
require 'mina/rails'
2+
require 'mina/bundler'
23
require 'mina/git'
34
require 'mina/rbenv' # for rbenv support. (https://rbenv.org)
45
# require 'mina/rvm' # for rvm support. (https://rvm.io)
6+
require 'mina/puma'
57

68
# Basic settings:
79
# domain - The hostname to SSH to.
@@ -25,8 +27,8 @@
2527
# They will be linked in the 'deploy:link_shared_paths' step.
2628
# set :shared_dirs, fetch(:shared_dirs, []).push('config')
2729
# set :shared_files, fetch(:shared_files, []).push('config/database.yml', 'config/secrets.yml')
28-
set :shared_dirs, fetch(:shared_dirs, []).push('config')
29-
set :shared_files, fetch(:shared_files, []).push('config/database.yml')
30+
set :shared_dirs, fetch(:shared_dirs, []).push('config', 'tmp/sockets', 'tmp/pids')
31+
set :shared_files, fetch(:shared_files, []).push('config/database.yml', 'Gemfile.lock')
3032

3133
# This task is the environment that is loaded all remote run commands, such as
3234
# `mina deploy` or `mina rake`.

0 commit comments

Comments
 (0)