Sha256: 674c037b13135d5d4c2ababb4eac7449e004127e8e0169e379735acd9f0c1ee0

Contents?: true

Size: 382 Bytes

Versions: 45

Compression:

Stored size: 382 Bytes

Contents

#!/usr/local/env ruby -Ku
# encoding: utf-8
# $Id:$

begin
  require 'rjb'
rescue LoadError 
  require 'rubygems' 
  require 'rjb'
end
require 'test/unit'

if RUBY_PLATFORM =~ /darwin/
  class TestOsxJvm < Test::Unit::TestCase
    def test_with_javahome
      ENV['JAVA_HOME'] = `/usr/libexec/java_home`
      assert_nothing_raised do
        Rjb::load
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
rjb-1.7.3 test/test_osxjvm.rb
rjb-1.7.1 test/test_osxjvm.rb
rjb-1.7.0 test/test_osxjvm.rb
rjb-1.6.9 test/test_osxjvm.rb
rjb-1.6.8 test/test_osxjvm.rb
rjb-1.6.7 test/test_osxjvm.rb
rjb-1.6.6 test/test_osxjvm.rb
rjb-1.6.5 test/test_osxjvm.rb
rjb-1.6.4 test/test_osxjvm.rb
rjb-1.6.3 test/test_osxjvm.rb
rjb-1.6.2 test/test_osxjvm.rb
rjb-1.6.1 test/test_osxjvm.rb
rjb-1.6.0 test/test_osxjvm.rb
rjb-1.5.9 test/test_osxjvm.rb
rjb-1.5.8 test/test_osxjvm.rb
rjb-1.5.7 test/test_osxjvm.rb
rjb-1.5.6 test/test_osxjvm.rb
rjb-1.5.5 test/test_osxjvm.rb
rjb-1.5.4 test/test_osxjvm.rb
rjb-1.5.3 test/test_osxjvm.rb