test/osx_jvmcheck.rb in rjb-1.4.5 vs test/osx_jvmcheck.rb in rjb-1.4.6
- old
+ new
@@ -1,9 +1,9 @@
-# coding: utf-8
-begin
- require 'rjb'
-rescue LoadError
- require 'rubygems'
- require 'rjb'
-end
-S = Rjb::import('java.lang.System')
-puts "#{S.property('java.vendor')} #{S.property('java.version')}"
+# coding: utf-8
+begin
+ require 'rjb'
+rescue LoadError
+ require 'rubygems'
+ require 'rjb'
+end
+S = Rjb::import('java.lang.System')
+puts "#{S.property('java.vendor')} #{S.property('java.version')}"