lib/softwear/lib.rb in softwear-lib-1.3.11 vs lib/softwear/lib.rb in softwear-lib-1.3.12
- old
+ new
@@ -88,10 +88,12 @@
on roles(:sidekiq) do
execute 'sudo restart sidekiq-manager'
end
end
+ # This is more problematic than helpful
+=begin
if !$LOAD_PATH.grep(/sunspot_solr/).empty? || fetch(:no_reindex)
before :publishing, :reindex_solr do
on roles(:db) do
with rails_env: fetch(:rails_env) || fetch(:stage) do
within(release_path) do
@@ -99,9 +101,10 @@
end
end
end
end
end
+=end
# This is no longer necessary
# before :updating, :update_softwear_lib
after :publishing, :restart