Package org.jruby.ext.rbconfig
Class RbConfigLibrary
java.lang.Object
org.jruby.ext.rbconfig.RbConfigLibrary
- All Implemented Interfaces:
Library
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final booleanprivate static Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final StringThis is a map from Java's "friendly" OS names to those used by Rubyprivate static final Stringprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetArchDir(Ruby runtime) static Stringstatic Stringstatic StringgetNormalizedHome(Ruby runtime) static Stringprivate static StringgetRubyEnv(RubyHash envHash, String var, String default_value) static StringgetRubygemsDir(Ruby runtime) static StringgetRubyLibDir(Ruby runtime) static StringgetRubyLibDirFor(Ruby runtime, String runtimeVerStr) static StringgetRubySharedLibDir(Ruby runtime) static StringgetRuntimeVerStr(Ruby runtime) static StringgetSiteArchDir(Ruby runtime) static StringgetSiteDir(Ruby runtime) static StringgetSiteDirGeneral(Ruby runtime) static StringgetSiteLibDir(Ruby runtime) static StringgetSysConfDir(Ruby runtime) static StringgetVendorArchDir(Ruby runtime) static StringgetVendorDir(Ruby runtime) static StringgetVendorDirGeneral(Ruby runtime) static StringgetVendorLibDir(Ruby runtime) static BooleanisSiteVendorSame(Ruby runtime) static Stringstatic StringvoidJust enough configuration settings (most don't make sense in Java) to run the rubytests unit tests.private static Fileprivate static Fileprivate static voidsetConfig(ThreadContext context, RubyHash hash, String key, String value) private static voidsetupMakefileConfig(ThreadContext context, RubyHash mkmfHash)
-
Field Details
-
RUBY_DARWIN
- See Also:
-
RUBY_LINUX
- See Also:
-
RUBY_WIN32
- See Also:
-
RUBY_SOLARIS
- See Also:
-
RUBY_FREEBSD
- See Also:
-
RUBY_DRAGONFLYBSD
- See Also:
-
RUBY_AIX
- See Also:
-
normalizedHome
-
RUBY_OS_NAMES
This is a map from Java's "friendly" OS names to those used by Ruby -
IS_64_BIT
private static final boolean IS_64_BIT
-
-
Constructor Details
-
RbConfigLibrary
public RbConfigLibrary()
-
-
Method Details
-
getOSName
-
getArchitecture
-
getRuntimeVerStr
-
getNormalizedHome
-
getLibDir
-
getVendorDirGeneral
-
getSiteDirGeneral
-
isSiteVendorSame
-
getRubygemsDir
-
getRubyLibDir
-
getRubyLibDirFor
-
getArchDir
-
getVendorDir
-
getVendorLibDir
-
getVendorArchDir
-
getSiteDir
-
getSiteLibDir
-
getSiteArchDir
-
getSysConfDir
-
load
Just enough configuration settings (most don't make sense in Java) to run the rubytests unit tests. The tests usebindir,RUBY_INSTALL_NAMEandEXEEXT. -
setupMakefileConfig
-
setConfig
-
jrubyScript
-
jrubyShell
-
getRubyEnv
-
newFile
-
newFile
-