Sha256: 05306a8ec88acd3e7aa77d45df52581f04fdab4fb034988cd7eba00a23efface
Contents?: true
Size: 545 Bytes
Versions: 4
Compression:
Stored size: 545 Bytes
Contents
require 'rails/generators' module Blacklight class Solr5Generator < Rails::Generators::Base desc <<-EOF This generator makes the following changes to your application: 1. Installs solr_wrapper into your application 2. Adds rsolr to your Gemfile EOF def install_solrwrapper gem_group :development, :test do gem 'solr_wrapper', '>= 0.3' end append_to_file "Rakefile", "\nrequire 'solr_wrapper/rake_task'\n" end def add_rsolr_gem gem 'rsolr', '~> 1.0' end end end
Version data entries
4 entries across 4 versions & 1 rubygems