[Groonga-commit] ranguba/groonga-client-rails at 9d5166e [master] test: unbundler for test applications

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Mar 27 16:35:57 JST 2016


Kouhei Sutou	2016-03-27 16:35:57 +0900 (Sun, 27 Mar 2016)

  New Revision: 9d5166e052d5458a5f0b1dc4306f515cad5f9260
  https://github.com/ranguba/groonga-client-rails/commit/9d5166e052d5458a5f0b1dc4306f515cad5f9260

  Message:
    test: unbundler for test applications

  Modified files:
    test/run-test.rb

  Modified: test/run-test.rb (+8 -0)
===================================================================
--- test/run-test.rb    2016-03-27 15:02:35 +0900 (cbdee18)
+++ test/run-test.rb    2016-03-27 16:35:57 +0900 (d99273d)
@@ -22,6 +22,14 @@ unless system(RbConfig.ruby, "test/unit/run-test.rb", *ARGV)
   exit(false)
 end
 
+def unbundler
+  ENV["GEM_HOME"] = nil
+  ENV["GEM_PATH"] = nil
+  ENV["RUBYOPT"]  = nil
+end
+
+unbundler
+
 Dir.glob("#{__dir__}/fixtures/*") do |test_application|
   Dir.chdir(test_application) do
     unless system(RbConfig.ruby, "-S", "rake",
-------------- next part --------------
HTML����������������������������...
下载 



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