Take the 2008 Git User's Survey and help out! [ hide ]

public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
Require rubygems if needed when initializing GemDependency instances

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9245 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
technoweenie (author)
Wed Apr 09 09:24:32 -0700 2008
commit  95fdc82fb2a46b7f7746a82de1e2db350371106d
tree    3ece10a7303ccbc70fc8e0aa07f7a4fa79f54872
parent  8a5a9dcbf64843f064b6e8a0b9c6eea8f0b8536e
...
7
8
9
 
10
11
12
...
7
8
9
10
11
12
13
0
@@ -7,6 +7,7 @@ module Rails
0
     end
0
 
0
     def initialize(name, options = {})
0
+ require 'rubygems' unless Object.const_defined?(:Gem)
0
       @name = name.to_s
0
       if options[:version]
0
         @requirement = Gem::Requirement.create(options[:version])

Comments

    No one has commented yet.