[Groonga-commit] ranguba/rroonga at 33fd639 [master] Remove code for Ruby 1.8

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Sun Dec 29 11:54:26 JST 2013


Kouhei Sutou	2013-12-29 11:54:26 +0900 (Sun, 29 Dec 2013)

  New Revision: 33fd639b00aa614977fd386dbee117f5267d1847
  https://github.com/ranguba/rroonga/commit/33fd639b00aa614977fd386dbee117f5267d1847

  Message:
    Remove code for Ruby 1.8

  Modified files:
    ext/groonga/extconf.rb

  Modified: ext/groonga/extconf.rb (+1 -6)
===================================================================
--- ext/groonga/extconf.rb    2013-12-29 11:52:13 +0900 (20bd520)
+++ ext/groonga/extconf.rb    2013-12-29 11:54:26 +0900 (3438972)
@@ -22,12 +22,7 @@ require "fileutils"
 require "shellwords"
 require "open-uri"
 
-begin
-  require "pkg-config"
-rescue LoadError
-  require "rubygems"
-  require "pkg-config"
-end
+require "pkg-config"
 
 base_dir = Pathname(__FILE__).dirname.parent.parent.expand_path
 $LOAD_PATH.unshift(base_dir.to_s)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index