Sha256: 7860afd55fe21a6231dbe17e07fbd765276c350a9f3e736474b76f34d3265ccc
Contents?: true
Size: 586 Bytes
Versions: 13
Compression:
Stored size: 586 Bytes
Contents
require 'rake' require 'rake/rdoctask' if File.exist?(sunspot_lib = File.expand_path(File.join(File.dirname(__FILE__), '..', 'sunspot', 'lib'))) STDERR.puts("Using sunspot lib at #{sunspot_lib}") $: << sunspot_lib end task :environment do if ENV['SUNSPOT_LIB'] $: << ENV['SUNSPOT_LIB'] end ENV['RAILS_ROOT'] ||= File.join(File.dirname(__FILE__), 'spec', 'rails3') ENV['RAILS_ENV'] ||= 'test' require File.expand_path(File.join(ENV['RAILS_ROOT'], 'config', 'environment.rb')) end FileList['dev_tasks/*.rake', 'lib/sunspot/rails/tasks.rb'].each { |file| load(file) }
Version data entries
13 entries across 13 versions & 5 rubygems