From: Leslie Viljoen Date: 2007-05-29T17:38:20+09:00 Subject: Ruby Bootstrap ------=_Part_179812_3947287.1180427900530 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi people Where does Ruby get its initial $LOAD_PATH? Where is its startup file? ie. what script loads these: >> $LOADED_FEATURES =3D> ["e2mmap.rb", "irb/init.rb", "irb/workspace.rb", "irb/context.rb", "irb/extend-command.rb", "irb/output-method.rb", "irb/notifier.rb", "irb/slex.rb", "irb/ruby-token.rb", "irb/ruby-lex.rb", "readline.so", "irb/input-method.rb", "irb/locale.rb", "irb.rb", "irb/completion.rb", " rbconfig.rb", "rubygems/rubygems_version.rb", "thread.rb", "rbconfig/datadir.rb", "rubygems/user_interaction.rb", "socket.so", " timeout.rb", "net/protocol.rb", "uri/common.rb", "uri/generic.rb", "uri/ftp.rb", "uri/http.rb", "uri/https.rb", "uri/ldap.rb", "uri/mailto.rb"= , "uri.rb", "net/http.rb", "stringio.so", "yaml/error.rb", "syck.so", "yaml/ypath.rb", "yaml/basenode.rb", "yaml/syck.rb", "yaml/tag.rb", "yaml/stream.rb", "yaml/constants.rb", "rational.rb", "date/format.rb", " date.rb", "yaml/rubytypes.rb", "yaml/types.rb", "yaml.rb", "zlib.so", "rubygems/remote_fetcher.rb", "digest.so", "digest/sha2.so", "rubygems/digest/digest_adapter.rb", "rubygems/digest/sha2.rb", " forwardable.rb", "parsedate.rb", "time.rb", "rubygems/source_index.rb", "rubygems/version.rb", "rubygems/specification.rb", "openssl.so", "openssl/bn.rb", "openssl/cipher.rb", "openssl/digest.rb", "openssl/buffering.rb", "fcntl.so", "openssl/ssl.rb", "openssl/x509.rb", " openssl.rb", "rubygems/gem_openssl.rb", "rubygems/security.rb", "rubygems/custom_require.rb", "rubygems.rb", "ostruct.rb", "wirble.rb", " prettyprint.rb", "pp.rb"] Thanks, Les --=20 If you could create a machine that copies hamburgers =97 you put one hambur= ger in and two equally good hamburgers come out the other side =97 it would be unethical not to do so and make it freely available. ------=_Part_179812_3947287.1180427900530--