Skip to content

Commit

Permalink
Load library files after setting $LOAD_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
KitaitiMakoto committed Feb 14, 2015
1 parent 4e0c99d commit da3526f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/es-register
@@ -1,14 +1,13 @@
#!/usr/bin/env ruby

require 'epub-searcher/remote-database'
require 'epub-searcher/epub-document'

if ARGV.empty?
puts "Usage: #{File.basename($PROGRAM_NAME)} EPUBFile1 EPUBFile2 ..."
exit(false)
end

require_relative '../config/boot'
require 'epub-searcher/remote-database'
require 'epub-searcher/epub-document'

db_options = {
host: EPUBSearcher::App.settings.droonga_host,
Expand Down

0 comments on commit da3526f

Please sign in to comment.