Skip to content
This repository was archived by the owner on Jan 5, 2019. It is now read-only.

Commit d136fcc

Browse files
authored
Merge pull request #1197 from ualbertalib/move_rest-client_requirement
move rest-client to inside the rake task function
2 parents 9a70162 + 70b3f8c commit d136fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/hydranorth-solr.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require './lib/tasks/rake_logger'
2-
require 'rest-client'
32
require 'active_fedora/noid'
43
require 'yaml'
54
require 'rdf/turtle'
@@ -50,6 +49,7 @@ namespace :hydranorth do
5049
end
5150

5251
def find_objects(input)
52+
require 'rest-client'
5353
objects=[]
5454
if input.length == 2
5555
RakeLogger.info "It's a pairtree root: #{input}"

0 commit comments

Comments
 (0)