Commit 05c6a186ed9e393481cf4a828aef40b8ac62a9dc
1 parent
b61b3626
Exists in
master
and in
2 other branches
Move annotate gem to production
:(
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
Gemfile
| ... | ... | @@ -36,6 +36,7 @@ gem 'foreman' |
| 36 | 36 | gem 'carrierwave' |
| 37 | 37 | |
| 38 | 38 | gem 'dotenv-rails' |
| 39 | +gem 'annotate' | |
| 39 | 40 | |
| 40 | 41 | group :development do |
| 41 | 42 | gem 'capistrano', '~> 3.0', require: false |
| ... | ... | @@ -58,7 +59,6 @@ group :development do |
| 58 | 59 | gem 'rb-fsevent', :require=>false |
| 59 | 60 | gem 'rb-inotify', :require=>false |
| 60 | 61 | gem 'awesome_print' |
| 61 | - gem 'annotate' | |
| 62 | 62 | end |
| 63 | 63 | |
| 64 | 64 | group :development, :test do | ... | ... |
config/deploy.rb
| ... | ... | @@ -54,9 +54,9 @@ namespace :deploy do |
| 54 | 54 | after :restart, :clear_cache do |
| 55 | 55 | on roles(:web), in: :groups, limit: 3, wait: 10 do |
| 56 | 56 | # Here we can do anything such as: |
| 57 | - # within release_path do | |
| 57 | + within release_path do | |
| 58 | 58 | execute :rake, 'cache:clear' |
| 59 | - # end | |
| 59 | + end | |
| 60 | 60 | end |
| 61 | 61 | end |
| 62 | 62 | ... | ... |