Commit 0fa5b8918d4fd88575dca984875324dfd82e140e

Authored by Antonio Terceiro
2 parents 545f73ef ef26f8a0

Merge branch 'fix_enable_plugins' into 'master'

Fix enable plugins

Fix the only_if condition for rake task in enable_all plugins

We changed the -T for -P flag in order to show all tasks and not only the ones with description

See merge request !32
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
cookbooks/noosfero/recipes/default.rb
... ... @@ -46,7 +46,7 @@ execute 'plugins:activate' do
46 46 command "RAILS_ENV=production bundle exec rake noosfero:plugins:enable_all"
47 47 cwd '/usr/lib/noosfero'
48 48 user 'noosfero'
49   - only_if 'bundle rake -T | grep enable_all'
  49 + only_if 'bundle exec rake -P | grep enable_all'
50 50 end
51 51  
52 52 execute 'theme:enable' do
... ...