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

Version Path
pduey-sunspot_rails-1.2.1.1 Rakefile
erichummel-sunspot_rails-1.2.1g Rakefile
erichummel-sunspot_rails-1.2.1f Rakefile
erichummel-sunspot_rails-1.2.1e Rakefile
erichummel-sunspot_rails-1.2.1d Rakefile
erichummel-sunspot_rails-1.2.1c Rakefile
erichummel-sunspot_rails-1.2.1b Rakefile
erichummel-sunspot_rails-1.2.1a Rakefile
sunspot_rails_rbg-1.3.1 Rakefile
sunspot_rails_rbg-1.3.0 Rakefile
sunspot_rails_mongoid-1.2.1 Rakefile
sunspot_rails-1.2.1 Rakefile
sunspot_rails-1.2.0 Rakefile