Sha256: c5b53fa75e99986109e099b5d4119b33255d7682105bda83aa4ff51d68f6aa4a

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

require 'capistrano/novafabrica/helper'

configuration = Capistrano::Configuration.respond_to?(:instance) ?
  Capistrano::Configuration.instance(:must_exist) :
  Capistrano.configuration(:must_exist)

configuration.load do
  
  namespace :solr do

    desc "Solr Reindex"
    task :reindex, :role => :web do
      run "cd #{current_path}; bundle exec rake RAILS_ENV=#{rails_env} maharam:reindex"
    end
  
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capistrano-novafabrica-1.0.5 lib/capistrano/novafabrica/solr.rb
capistrano-novafabrica-1.0.4 lib/capistrano/novafabrica/solr.rb
capistrano-novafabrica-1.0.3 lib/capistrano/novafabrica/solr.rb