GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Load both general and env-specific init file conditionally.
Thu Oct 09 16:04:59 -0700 2008
commit  428d9480a49cee31e72d709a9fed0a6785d0b14c
tree    afa07cff0ac234c6df5a0a388ad5e611656eba2c
parent  7b330e0273609dc113cc4d617f3e626496f72cfb
...
272
273
274
275
276
 
 
 
 
277
278
279
...
272
273
274
 
 
275
276
277
278
279
280
281
0
@@ -272,8 +272,10 @@ class Merb::BootLoader::Dependencies < Merb::BootLoader
0
     # this is crucial: load init file with all the preferences
0
     # then environment init file, then start enabling specific
0
     # components, load dependencies and update logger.
0
- load_initfile unless Merb::disabled?(:initfile)
0
- load_env_config
0
+ unless Merb::disabled?(:initfile)
0
+ load_initfile
0
+ load_env_config
0
+ end
0
     enable_json_gem unless Merb::disabled?(:json)
0
     load_dependencies
0
     update_logger

Comments

    No one has commented yet.