Commit 63f2fdeb3b347dbf0d0fa1a1b5e7fce08d5d6139

Authored by Rodrigo Siqueira de Melo
1 parent b3d56f0d

Fix noosfero plugins resource

Signed-off-by: Daniel Henrique <danielhmarinho@gmail.com>
Signed-off-by: Maxwell Almeida <llewxam150@gmail.com>
Signed-off-by: Ricardo Teixeira <ricardocdzg@gmail.com>
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
cookbooks/noosfero/recipes/default.rb
@@ -73,8 +73,8 @@ plugins_spb = [ @@ -73,8 +73,8 @@ plugins_spb = [
73 73
74 #FIXME: We did it, because we have to enable each plugin and migrate it separately. 74 #FIXME: We did it, because we have to enable each plugin and migrate it separately.
75 plugins_spb.each do |plugin| 75 plugins_spb.each do |plugin|
76 - execute 'plugins_spb:activate' do  
77 - command '/usr/lib/noosfero/script/noosfero-plugin enable' + plugin + 76 + execute ('plugins_spb:activate:' + plugin) do
  77 + command '/usr/lib/noosfero/script/noosfero-plugin enable ' + plugin +
78 ' && RAILS_ENV=production SCHEMA=/dev/null bundle exec ' + 78 ' && RAILS_ENV=production SCHEMA=/dev/null bundle exec ' +
79 'rake db:migrate' 79 'rake db:migrate'
80 end 80 end