test/test_helper.rb in ruboto-1.4.1 vs test/test_helper.rb in ruboto-1.5.0

- old
+ new

@@ -13,10 +13,12 @@ module RubotoTest include Ruboto::SdkVersions include Ruboto::SdkLocations include Ruboto::Util::Update + ON_LINUX = RbConfig::CONFIG['host_os'].downcase.include?('linux') + PROJECT_DIR = File.expand_path('..', File.dirname(__FILE__)) $LOAD_PATH << PROJECT_DIR unless ENV['GEM_HOME'] && File.writable?(ENV['GEM_HOME']) GEM_PATH = File.join PROJECT_DIR, 'tmp', 'gems' @@ -90,12 +92,11 @@ end # FIXME(uwe): Remove when stupid crash is resolved def has_stupid_crash require 'rbconfig' - ANDROID_OS <= 15 && - JRUBY_JARS_VERSION >= Gem::Version.new('1.7.19') && - RbConfig::CONFIG['host_os'].downcase.include?('linux') + ANDROID_OS <= 15 && JRUBY_JARS_VERSION >= Gem::Version.new('1.7.19') && + ON_LINUX end # EMXIF puts RUBY_DESCRIPTION