Sha256: adeea3cf083d27fc454e4a29eb364f758d5c86db679d4e101caab1e91ac85b4d

Contents?: true

Size: 407 Bytes

Versions: 9

Compression:

Stored size: 407 Bytes

Contents

require 'fileutils'

def install(file)
  puts "Installing: #{file}"
  target = File.join(File.dirname(__FILE__), '..', '..', '..', file)
  FileUtils.cp File.join(File.dirname(__FILE__), file), target
  dir_to_rename = File.dirname(__FILE__) + '/../trunk'
  FileUtils.mv(dir_to_rename, File.dirname(__FILE__) + '/../acts_as_solr') if File.exists? dir_to_rename
end

install File.join( 'config', 'solr.yml' )

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
acts_as_solr-1.3.3 install.rb
acts_as_solr-1.3.2 install.rb
acts_as_solr-1.3.1 install.rb
acts_as_solr-1.3.0 install.rb
acts_as_solr-1.2.0 install.rb
acts_as_solr-1.1.3 install.rb
acts_as_solr-1.1.2 install.rb
acts_as_solr-1.1.1 install.rb
acts_as_solr-1.0.0 install.rb