6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# File 'lib/generators/add_capistrano_gems/add_capistrano_gems_generator.rb', line 6
def add_gems
gemfile_path = "Gemfile"
append_to_file gemfile_path, <<~GEMS
gem 'figaro'
group :development do
gem 'capistrano'
gem 'capistrano3-puma'
gem 'capistrano-rails', require: false
gem 'capistrano-bundler', require: false
gem 'capistrano-rake', require: false
gem 'capistrano-rvm'
gem 'capistrano-sidekiq'
end
GEMS
say "Gems added! Run `bundle install` to install them.", :green
end
|