Upgrade foodsoft to rails 2.3.2.

This commit is contained in:
Benjamin Meichsner 2009-05-17 15:01:36 +02:00
parent c03f3da21a
commit 43fc7b06f8
3 changed files with 3 additions and 9 deletions

View file

@ -44,6 +44,7 @@ module Rails
def load_initializer def load_initializer
require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer" require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
Rails::Initializer.run(:install_gem_spec_stubs) Rails::Initializer.run(:install_gem_spec_stubs)
Rails::GemDependency.add_frozen_gem_path
end end
end end

View file

@ -5,7 +5,7 @@
# ENV['RAILS_ENV'] ||= 'production' # ENV['RAILS_ENV'] ||= 'production'
# Specifies gem version of Rails to use when vendor/rails is not present # Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
# Bootstrap the Rails environment, frameworks, and default configuration # Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot') require File.join(File.dirname(__FILE__), 'boot')
@ -76,10 +76,3 @@ Rails::Initializer.run do |config|
# See Rails::Configuration for more options # See Rails::Configuration for more options
end end
# Defines custom logging format.
#class Logger
# def format_message(severity, timestamp, progname, msg)
# format("%s %-5.5s %s\n", timestamp.strftime('%H:%M:%S'), severity, msg)
# end
#end