Skip to content
Commits on Jan 17, 2011
  1. @nobu

    * ruby.c (process_options): revert r30549.

    nobu committed
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 15, 2011
  1. @nobu

    * ruby.c (process_options): autoload rubygems.

    nobu committed
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nobu

    * ruby.c (ruby_init_prelude): get rid of global namespace

    nobu committed
      pullution.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 14, 2011
  1. Reduced gem_prelude to just require rubygems. Reviewed by Evan Phoenix

    ryan committed
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 16, 2010
  1. @nobu

    Tue Aug 17 07:38:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>

    nobu committed
    	* gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): include empty
    	  suffix.  [ruby-core:31730]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 8, 2010
  1. @nobu

    * gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): return truely

    nobu committed
      require-able suffixes only.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 21, 2010
  1. Load gems properly. Fixes [ruby-core:31377]

    evan committed
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 20, 2010
  1. Pull rubygem's custom require into gem_prelude

    evan committed
    This solves the gem loading issue by never touching $LOAD_PATH
    in gem_prelude and instead loading all of rubygems more quickly.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 7, 2010
  1. @mame

    * gem_prelude.rb: provide workaround for gem activation. Currently,

    mame committed
      gem activation does not work by default.  Now it can be worked
      around by requiring "rubygems" first.  [ruby-core:29486]
      a patch from Evan Phoenix in [ruby-core:31096].
    
    * lib/rubygems.rb: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 10, 2010
  1. @nurse

    Revert r28200.

    nurse committed
    It caused many failures on test-all and following is SEGV.
    ./ruby -e 'require %!#{"foo/" * 10000}foo!'
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 7, 2010
  1. @nobu

    * gem_prelude.rb: load full rubygems at LoadError for activation

    nobu committed
      check.  [ruby-core:29486]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 23, 2010
  1. @nobu

    * gem_prelude.rb (Gem::QuickLoader.load_full_rubygems_library):

    nobu committed
      suppress a warning.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nobu

    * gem_prelude.rb (Gem::QuickLoader.load_full_rubygems_library):

    nobu committed
      get rid of creating same regexps many times.
    
    * lib/rubygems/custom_require.rb (Kernel#require): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 12, 2010
  1. @nobu

    * ruby.c (ruby_init_loadpath_safe): mark initial load paths.

    nobu committed
    * gem_prelude.rb (push_all_highest_version_gems_on_load_path):
      search insertion position by initial load path mark.
    
    * lib/rubygems.rb (Gem.load_path_insert_index): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 30, 2009
  1. @nobu

    * gem_prelude.rb (push_all_highest_version_gems_on_load_path):

    nobu committed
      simplified.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 19, 2009
  1. * gem_prelude.rb (Kernel#gem): should make gem private. a patch

    matz committed
      from Sho Hashimoto in [ruby-dev:39838].
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 26, 2009
  1. @nurse

    * gem_prelude.rb (Gem.set_home): must dup before force_encoding

    nurse committed
      and must force_encoding before gsub.
      cf. Yen Sign problem of SJIS [ruby-core:26910]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 5, 2009
  1. @nurse

    * gem_prelude.rb (Gem.user_home): force_encoding(

    nurse committed
      Encoding.find('filesystem')). [ruby-core:26525]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 28, 2009
  1. @nurse

    * encoding.c (get_filesystem_encoding): removed.

    nurse committed
    * encoding.c (rb_locale_encindex): added.
    
    * encoding.c (rb_filesystem_encindex): added.
    
    * encoding.c (rb_filesystem_encindex): add an alias 'filesystem'.
      [ruby-dev:39574]
    
    * encoding.c (enc_find): add rdoc about special aliases.
    
    * gem_prelude.rb (Gem.set_home): use Encoding.find('filesystem').
    
    * gem_prelude.rb (Gem.set_paths): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nurse

    * gem_prelude.rb (Gem.set_home):

    nurse committed
      force_encoding(Encoding.filesystem_encoding)
      [ruby-dev:39546]
    
    * gem_prelude.rb (Gem.set_paths): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 30, 2009
  1. @yugui

    * gem_prelude.rb (Gem.path): uses Gem.default_path as a default value

    yugui committed
      so that ruby finds gems in ~/.gem/.
      (Gem.user_home): reduced version of lib/rubygems.rb's.
      Gem.default_path needs it.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @yugui

    * tool/compile_prelude.rb: replaces "require" with in-place evaluation

    yugui committed
      so that copy & paste for lib/rubygems/default.rb is not necessary.
    
    * gem_prelude.rb: removes copied codes from lib/rubygems/defaults.rb.
      uses require instead.
    
    * common.mk (prelude.c): adds dependency for lib/rubygems/defaults.rb.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 15, 2009
  1. @yugui

    * ext/purelib.rb: translates a fake path to rubygems in $" into

    yugui committed
      an alternative in $: so that Kernel.#require does not load
      more rubygems.rb.
      Resolves many failures in test/rubygems/*.
    
    * gem_prelude.rb (Gem.load_full_rubygems_library): supports case 
      the rubygems to load is not in $(rubylibprefix).
      (Gem.path_to_full_rubygems_library): new method for the changes in
      purelib.rb and Gem.load_full_rubygems_library.
      (Gem.fake_rubygems_as_loaded): new method.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 28, 2009
  1. @yugui

    * gem_prelude.c (Gem.default_dir): follows the change on

    yugui committed
      lib/rubygems/default.rb in r23879
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 9, 2009
  1. @drbrain

    Update to RubyGems 1.3.4 r2223

    drbrain committed
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 21, 2009
  1. @yugui

    * gem_prelude.rb (Gem.default_dir and misc.): use rubylibprefix.

    yugui committed
      follows the chagne in r23368.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 19, 2009
  1. @nobu

    * gem_prelude.rb (Gem::QuickLoader#push_gem_version_on_load_path):

    nobu committed
      check for requirement if the gem is installed.  a patch from
      Kyosuke MOROHASHI at [ruby-dev:38020].
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 23, 2008
  1. @drbrain

    Match full RubyGems behavior when a gem can't be found

    drbrain committed
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 22, 2008
  1. @drbrain

    Don't remove methods twice. [bug#555]

    drbrain committed
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 12, 2008
  1. @yugui

    * encoding.c (enc_get_default_encoding): removed.

    yugui committed
      Generalizing rb_default_{external,internal}_encoding seems to be
      difficult. 
      default_external cannot be NULL even before detected. [ruby-dev:37390]
    
    * encoding.c (rb_default_external_encoding): has its own
      implementation again.
    
    * encoding.c (rb_default_internal_encoding): ditto.
    
    * gem_prelude.rb: added notice.
    
    * ruby.c (rubylib_mangled_path, rubylib_mangled_path2): uses locale
      encoding but not ASCII-8BIT.
    
    * ruby.c (process_options): refers less to default_external.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 31, 2008
  1. @drbrain

    Don't require rubygems/defaults from gem_prelude.rb.

    drbrain committed
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 28, 2008
  1. @yugui

    merged r19975 and r19978 from ruby_1_9_1 into trunk.

    yugui committed
    * gem_prelude.rb: considers --program-suffix and prefix configure
      options.
    * lib/rubygems/defaults.rb: ditto.
    * test/rubygems/test_gem.rb (@default_dir_re): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 26, 2008
  1. @nobu

    * gem_prelude.rb: disables debug and verbose flags to suppress failure

    nobu committed
      messages.  interpolation does not occur inside single quotes.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 25, 2008
  1. @drbrain

    Update to RubyGems 1.3.1 r1909.

    drbrain committed
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 17, 2008
  1. @drbrain

    Fix RubyGems for 1.9, r1780

    drbrain committed
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.