[groonga-commit:2860] ranguba/ranguba [scoring] use $LOAD_PATH instead of $:.

null+ranguba at clear-code.com null+ranguba at clear-code.com
Tue Dec 21 16:56:52 EST 2010


Kouhei Sutou	2010-10-28 05:12:32 +0000 (Thu, 28 Oct 2010)

  New Revision: 194f7c136754081648c00799812797008c6868fa

  Log:
    use $LOAD_PATH instead of $:.

  Modified files:
    indexer/ranguba-indexer

  Modified: indexer/ranguba-indexer (+1 -1)
===================================================================
--- indexer/ranguba-indexer    2010-10-28 05:12:12 +0000 (dfb07f9)
+++ indexer/ranguba-indexer    2010-10-28 05:12:32 +0000 (078e73c)
@@ -1,6 +1,6 @@
 #!/usr/bin/ruby
 
-$:.unshift(File.expand_path('../../lib', __FILE__))
+$LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))
 
 require 'optparse/shellwords'
 require 'shellwords'



More information about the groonga-commit mailing list