File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
src/spec/stub/rails23/WEB-INF/config Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 66# Bootstrap the Rails environment, frameworks, and default configuration
77require File . join ( File . dirname ( __FILE__ ) , 'boot' )
88
9+ # Monkey-Patch for RubyGems < 2.0 (will ignore vendor gems)
10+ unless defined? Gem . source_index
11+ module Gem
12+
13+ def self . source_index
14+ sources
15+ end
16+
17+ def self . cache
18+ sources
19+ end
20+
21+ SourceIndex = Specification
22+
23+ class SourceList # only needed for vendor gems
24+ include Enumerable
25+ def search ( *args ) ; [ ] ; end
26+ def each ( &block ) ; end
27+ end
28+
29+ end
30+ end
31+
932Rails ::Initializer . run do |config |
1033 # Settings in config/environments/* take precedence over those specified here.
1134 # Application configuration should go into files in config/initializers
You can’t perform that action at this time.
0 commit comments