Skip to content

Instantly share code, notes, and snippets.

@metaskills metaskills/240.rb
Created Mar 3, 2017

Embed
What would you like to do?
>> RbConfig::CONFIG.each { |k,v| puts "#{k} => #{v}\n" } ; true
DESTDIR =>
MAJOR => 2
MINOR => 4
TEENY => 0
PATCHLEVEL => 0
INSTALL => /opt/local/bin/ginstall -c
EXEEXT =>
prefix => /Users/kencollins/.rbenv/versions/2.4.0
ruby_install_name => ruby
RUBY_INSTALL_NAME => ruby
RUBY_SO_NAME => ruby
exec => exec
ruby_pc => ruby-2.4.pc
PACKAGE => ruby
BUILTIN_TRANSSRCS => enc/trans/newline.c
USE_RUBYGEMS => YES
MANTYPE => doc
NROFF => /usr/bin/nroff
vendorarchhdrdir => /Users/kencollins/.rbenv/versions/2.4.0/include/ruby-2.4.0/vendor_ruby/x86_64-darwin16
sitearchhdrdir => /Users/kencollins/.rbenv/versions/2.4.0/include/ruby-2.4.0/site_ruby/x86_64-darwin16
rubyarchhdrdir => /Users/kencollins/.rbenv/versions/2.4.0/include/ruby-2.4.0/x86_64-darwin16
vendorhdrdir => /Users/kencollins/.rbenv/versions/2.4.0/include/ruby-2.4.0/vendor_ruby
sitehdrdir => /Users/kencollins/.rbenv/versions/2.4.0/include/ruby-2.4.0/site_ruby
rubyhdrdir => /Users/kencollins/.rbenv/versions/2.4.0/include/ruby-2.4.0
RUBY_SEARCH_PATH =>
UNIVERSAL_INTS =>
UNIVERSAL_ARCHNAMES =>
configure_args => '--prefix=/Users/kencollins/.rbenv/versions/2.4.0' '--with-openssl-dir=/Users/kencollins/.rbenv/versions/2.4.0/openssl' 'CC=clang' 'CFLAGS=-O3 -arch x86_64 -O3 -Wno-error=shorten-64-to-32 ' 'LDFLAGS=-L/Users/kencollins/.rbenv/versions/2.4.0/lib -L/opt/local/lib' 'CPPFLAGS=-I/Users/kencollins/.rbenv/versions/2.4.0/include -I/opt/local/include'
CONFIGURE => configure
vendorarchdir => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby/vendor_ruby/2.4.0/x86_64-darwin16
vendorlibdir => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby/vendor_ruby/2.4.0
vendordir => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby/vendor_ruby
sitearchdir => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/x86_64-darwin16
sitelibdir => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0
sitedir => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby/site_ruby
rubyarchdir => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-darwin16
rubylibdir => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby/2.4.0
ruby_version => 2.4.0
sitearch => x86_64-darwin16
arch => x86_64-darwin16
sitearchincludedir => /Users/kencollins/.rbenv/versions/2.4.0/include/x86_64-darwin16
archincludedir => /Users/kencollins/.rbenv/versions/2.4.0/include/x86_64-darwin16
sitearchlibdir => /Users/kencollins/.rbenv/versions/2.4.0/lib/x86_64-darwin16
archlibdir => /Users/kencollins/.rbenv/versions/2.4.0/lib/x86_64-darwin16
libdirname => libdir
RUBY_EXEC_PREFIX => /Users/kencollins/.rbenv/versions/2.4.0
RUBY_LIB_VERSION =>
RUBY_LIB_VERSION_STYLE => 3 /* full */
RI_BASE_NAME => ri
ridir => /Users/kencollins/.rbenv/versions/2.4.0/share/ri
rubysitearchprefix => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby/x86_64-darwin16
rubyarchprefix => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby/x86_64-darwin16
MAKEFILES => Makefile GNUmakefile
PLATFORM_DIR =>
THREAD_MODEL => pthread
SYMBOL_PREFIX => _
EXPORT_PREFIX =>
COMMON_HEADERS =>
COMMON_MACROS =>
COMMON_LIBS =>
MAINLIBS =>
ENABLE_SHARED => no
DLDLIBS =>
SOLIBS => -lgmp
LIBRUBYARG_SHARED =>
LIBRUBYARG_STATIC => -lruby-static -framework CoreFoundation
LIBRUBYARG => -lruby-static -framework CoreFoundation
LIBRUBY => libruby-static.a
LIBRUBY_ALIASES => libruby.so
LIBRUBY_SO => libruby.so.2.4.0
LIBRUBY_A => libruby-static.a
RUBYW_INSTALL_NAME =>
rubyw_install_name =>
EXTDLDFLAGS =>
EXTLDFLAGS =>
strict_warnflags =>
warnflags => -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens
debugflags => -ggdb3
optflags => -O3 -fno-fast-math
NULLCMD => :
DLNOBJ => dln.o
INSTALL_STATIC_LIBRARY => yes
EXECUTABLE_EXTS =>
ARCHFILE =>
LIBRUBY_RELATIVE => no
EXTOUT => .ext
PREP => miniruby ruby-runner
CROSS_COMPILING => no
TEST_RUNNABLE => yes
rubylibprefix => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby
setup => Setup
ENCSTATIC =>
EXTSTATIC =>
STRIP => strip -A -n
TRY_LINK =>
PRELOADENV => DYLD_INSERT_LIBRARIES
LIBPATHENV => DYLD_LIBRARY_PATH
RPATHFLAG =>
LIBPATHFLAG => -L%s
LINK_SO =>
test -z '$(RUBY_CODESIGN)' || codesign -s '$(RUBY_CODESIGN)' -f $@
ASMEXT => S
LIBEXT => a
DLEXT2 =>
DLEXT => bundle
LDSHAREDXX => clang++ -dynamic -bundle
LDSHARED => clang -dynamic -bundle
CCDLFLAGS => -fno-common
STATIC =>
ARCH_FLAG =>
DLDFLAGS => -L/Users/kencollins/.rbenv/versions/2.4.0/lib -L/opt/local/lib -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress
ALLOCA =>
codesign => codesign
POSTLINK => test -z '$(RUBY_CODESIGN)' || codesign -s '$(RUBY_CODESIGN)' -f $@
WERRORFLAG => -Werror
CHDIR => cd -P
RMALL => rm -fr
RMDIRS => rmdir -p
RMDIR => rmdir
CP => cp
RM => rm -f
PKG_CONFIG => pkg-config
PYTHON =>
DOXYGEN =>
DOT =>
MAKEDIRS => /opt/local/bin/gmkdir -p
MKDIR_P => /opt/local/bin/gmkdir -p
INSTALL_DATA => /opt/local/bin/ginstall -c -m 644
INSTALL_SCRIPT => /opt/local/bin/ginstall -c
INSTALL_PROGRAM => /opt/local/bin/ginstall -c
SET_MAKE =>
LN_S => ln -s
NM => nm
DLLWRAP =>
WINDRES =>
OBJCOPY => :
OBJDUMP => objdump
ASFLAGS =>
AS => as
ARFLAGS => rcu
AR => ar
RANLIB => ranlib
try_header =>
CC_VERSION_MESSAGE => Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
CC_VERSION => clang --version
CSRCFLAG =>
COUTFLAG => -o
OUTFLAG => -o
CPPOUTFILE => -o conftest.i
GNU_LD => no
LD => ld
GCC => yes
EGREP => /usr/bin/grep -E
GREP => /usr/bin/grep
CPP => clang -E
CXXFLAGS => -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens
OBJEXT => o
CPPFLAGS => -I/Users/kencollins/.rbenv/versions/2.4.0/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT
LDFLAGS => -L. -L/Users/kencollins/.rbenv/versions/2.4.0/lib -L/opt/local/lib -fstack-protector
CFLAGS => -O3 -O3 -Wno-error=shorten-64-to-32 -pipe
CXX => clang++
CC => clang
NACL_LIB_PATH =>
NACL_SDK_VARIANT =>
NACL_SDK_ROOT =>
NACL_TOOLCHAIN =>
target_os => darwin16
target_vendor => apple
target_cpu => x86_64
target => x86_64-apple-darwin16
host_os => darwin16.4.0
host_vendor => apple
host_cpu => x86_64
host => x86_64-apple-darwin16.4.0
RUBY_VERSION_NAME => ruby-2.4.0
RUBYW_BASE_NAME => rubyw
RUBY_BASE_NAME => ruby
build_os => darwin16.4.0
build_vendor => apple
build_cpu => x86_64
build => x86_64-apple-darwin16.4.0
RUBY_PROGRAM_VERSION => 2.4.0
cxxflags => -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens
cppflags =>
cflags => -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens
target_alias =>
host_alias =>
build_alias =>
LIBS => -lpthread -lgmp -ldl -lobjc
ECHO_T =>
ECHO_N =>
ECHO_C => \\c
DEFS =>
mandir => /Users/kencollins/.rbenv/versions/2.4.0/share/man
localedir => /Users/kencollins/.rbenv/versions/2.4.0/share/locale
libdir => /Users/kencollins/.rbenv/versions/2.4.0/lib
psdir => /Users/kencollins/.rbenv/versions/2.4.0/share/doc/ruby
pdfdir => /Users/kencollins/.rbenv/versions/2.4.0/share/doc/ruby
dvidir => /Users/kencollins/.rbenv/versions/2.4.0/share/doc/ruby
htmldir => /Users/kencollins/.rbenv/versions/2.4.0/share/doc/ruby
infodir => /Users/kencollins/.rbenv/versions/2.4.0/share/info
docdir => /Users/kencollins/.rbenv/versions/2.4.0/share/doc/ruby
oldincludedir => /usr/include
includedir => /Users/kencollins/.rbenv/versions/2.4.0/include
localstatedir => /Users/kencollins/.rbenv/versions/2.4.0/var
sharedstatedir => /Users/kencollins/.rbenv/versions/2.4.0/com
sysconfdir => /Users/kencollins/.rbenv/versions/2.4.0/etc
datadir => /Users/kencollins/.rbenv/versions/2.4.0/share
datarootdir => /Users/kencollins/.rbenv/versions/2.4.0/share
libexecdir => /Users/kencollins/.rbenv/versions/2.4.0/libexec
sbindir => /Users/kencollins/.rbenv/versions/2.4.0/sbin
bindir => /Users/kencollins/.rbenv/versions/2.4.0/bin
exec_prefix => /Users/kencollins/.rbenv/versions/2.4.0
PACKAGE_URL =>
PACKAGE_BUGREPORT =>
PACKAGE_STRING =>
PACKAGE_VERSION =>
PACKAGE_TARNAME =>
PACKAGE_NAME =>
PATH_SEPARATOR => :
SHELL => /bin/sh
UNICODE_VERSION => 9.0.0
SDKROOT =>
archdir => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-darwin16
topdir => /Users/kencollins/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-darwin16
=> true
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.