lib/rubber.rb in axtro-rubber-1.0.2.8 vs lib/rubber.rb in axtro-rubber-1.2.0
- old
+ new
@@ -12,10 +12,10 @@
# pull in basic rails env. rubber only needs RAILS_ROOT and RAILS_ENV.
# We actually do NOT want the entire rails environment because it
# complicates bootstrap (i.e. can't run config to create db because full
# rails env needs db to exist as some plugin accesses model or something)
- rails_boot_file = File.join(RUBBER_ROOT, 'config', 'boot')
+ rails_boot_file = File.join(RUBBER_ROOT, 'config', 'boot.rb')
require(rails_boot_file) if File.exists? rails_boot_file
if defined?(RAILS_DEFAULT_LOGGER) && RAILS_DEFAULT_LOGGER
Object.const_set('LOGGER', RAILS_DEFAULT_LOGGER)
else