Sha256: 61d106c8ecf1c9e2d92865006250ba2c74d9ddba87975c1e727337c606522da1

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

require 'rails/generators'

class SphinxConfigGenerator < Rails::Generators::Base

  source_root "#{File.dirname(__FILE__)}/../templates/"
  
  def copy_config_defaults
    copy_file 'sphinx.conf.erb', 'config/sphinx.conf.erb'
    copy_file 'sphinx.yml', 'config/sphinx.yml'
    copy_file 'sphinx_servers.yml', 'config/sphinx_servers.yml'
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thebes-0.0.3 railties/sphinx_config_generator.rb