Add Capistrano tasks for Rails and DB console
This commit is contained in:
parent
43e3dd5cbf
commit
357c031f83
3 changed files with 10 additions and 0 deletions
1
Capfile
1
Capfile
|
@ -27,6 +27,7 @@ require 'capistrano/bundler'
|
|||
require 'capistrano/rails/assets'
|
||||
require 'capistrano/rails/migrations'
|
||||
require 'capistrano/npm'
|
||||
require 'capistrano/rails/console'
|
||||
|
||||
# Load custom tasks from `lib/capistrano/tasks` if you have any defined.
|
||||
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
|
||||
|
|
3
Gemfile
3
Gemfile
|
@ -122,6 +122,9 @@ group :development do
|
|||
# NPM support for Capistrano 3.x.
|
||||
gem 'capistrano-npm', '~> 1.0', require: false
|
||||
|
||||
# Remote Rails console for Capistrano.
|
||||
gem 'capistrano-rails-console', '~> 2.3', require: false
|
||||
|
||||
# Call 'byebug' anywhere in the code to stop execution
|
||||
# and get a debugger console.
|
||||
gem 'byebug', platforms: %i[mri mingw x64_mingw]
|
||||
|
|
|
@ -74,6 +74,9 @@ GEM
|
|||
capistrano-rails (1.4.0)
|
||||
capistrano (~> 3.1)
|
||||
capistrano-bundler (~> 1.1)
|
||||
capistrano-rails-console (2.3.0)
|
||||
capistrano (>= 3.5.0, < 4.0.0)
|
||||
sshkit-interactive (~> 0.3.0)
|
||||
capybara (3.12.0)
|
||||
addressable
|
||||
mini_mime (>= 0.1.3)
|
||||
|
@ -350,6 +353,8 @@ GEM
|
|||
sshkit (1.18.0)
|
||||
net-scp (>= 1.1.2)
|
||||
net-ssh (>= 2.8.0)
|
||||
sshkit-interactive (0.3.0)
|
||||
sshkit (~> 1.12)
|
||||
term-ansicolor (1.7.0)
|
||||
tins (~> 1.0)
|
||||
thor (0.20.3)
|
||||
|
@ -392,6 +397,7 @@ DEPENDENCIES
|
|||
capistrano (~> 3.11)
|
||||
capistrano-npm (~> 1.0)
|
||||
capistrano-rails (~> 1.4)
|
||||
capistrano-rails-console (~> 2.3)
|
||||
capybara-screenshot (~> 1.0)
|
||||
capybara-webkit (~> 1.15)
|
||||
coveralls
|
||||
|
|
Reference in a new issue