#855: MacRuby should load the "rubygems" automatically. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- {{{ $ ruby -v -e "p Gem.class" ruby 1.9.1p429 (2010-07-02 revision 28523) [i386-darwin10] Module $ /usr/bin/ruby -v -e "p Gem.class" ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] -e:1: uninitialized constant Gem (NameError) $ macruby -v -e "p Gem.class" MacRuby 0.7 (ruby 1.9.2) [universal-darwin10.0, x86_64] /Users/watson/src/MacRuby/-e:1:in `<main>': uninitialized constant Gem (NameError) }}} {{{ $ cat test.rb #!ruby $LOADED_FEATURES.each do |file| puts file end }}} Runs above script, I found that the "rubygems" is loaded automatically with Ruby 1.9. {{{ $ ruby test.rb enumerator.so /opt/local/lib/ruby1.9/1.9.1/i386-darwin10/enc/encdb.bundle /opt/local/lib/ruby1.9/1.9.1/i386-darwin10/enc/trans/transdb.bundle /opt/local/lib/ruby1.9/1.9.1/rubygems.rb }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/855> MacRuby <http://macruby.org/>