[Groonga-commit] ranguba/epub-searcher at da3526f [master] Load library files after setting $LOAD_PATH

Back to archive index

KITAITI Makoto null+****@clear*****
Sun Feb 15 03:57:36 JST 2015


KITAITI Makoto	2015-02-15 03:57:36 +0900 (Sun, 15 Feb 2015)

  New Revision: da3526fc390abe8b264b189487267ad905d3aaaf
  https://github.com/ranguba/epub-searcher/commit/da3526fc390abe8b264b189487267ad905d3aaaf

  Message:
    Load library files after setting $LOAD_PATH

  Modified files:
    bin/es-register

  Modified: bin/es-register (+2 -3)
===================================================================
--- bin/es-register    2015-02-15 03:47:24 +0900 (2dc0385)
+++ bin/es-register    2015-02-15 03:57:36 +0900 (109cf1d)
@@ -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,
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index