From 1ce47845406680f2d12d4636ff802100764b66a8 Mon Sep 17 00:00:00 2001 From: Matt Zumwalt Date: Mon, 13 Sep 2010 04:07:39 -0500 Subject: [PATCH] fix to rakefile --- Rakefile | 1 - lib/active_fedora/solr_service.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 4db83a5b3..016cc8f9c 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,4 @@ require 'rake/clean' -require 'lib/active_fedora'#to get VERSION require 'rubygems' load 'tasks/rspec.rake' $: << 'lib' diff --git a/lib/active_fedora/solr_service.rb b/lib/active_fedora/solr_service.rb index e62051551..9443270ed 100644 --- a/lib/active_fedora/solr_service.rb +++ b/lib/active_fedora/solr_service.rb @@ -64,7 +64,7 @@ def self.logger end # (re)load solr field name mappings - def load_mappings( config_path=nil ) + def self.load_mappings( config_path=nil ) Solrizer::FieldNameMapper.load_mappings(config_path) end