133c21b801
Update to Rails 2.3.1. (Actually, not quite. Doesn't look like 2.3.1 will be released today, but I REALLY want to push these bugfixes out.) Removed bundled Rack (Rails 2.3.1 comes bundled with Rack 1.0). Add config.action_view.cache_template_loading = true to production environment. Fix FastCGI bug (http://rubyforge.org/tracker/index.php?func=detail&aid=24191&group_id=186&atid=783). Fix WikiWords bug (http://rubyforge.org/pipermail/instiki-users/2009-February/001181.html).
30 lines
645 B
Ruby
30 lines
645 B
Ruby
# Prefer gems to the bundled libs.
|
|
require 'rubygems'
|
|
|
|
begin
|
|
gem 'builder', '~> 2.1.2'
|
|
rescue Gem::LoadError
|
|
$:.unshift "#{File.dirname(__FILE__)}/vendor/builder-2.1.2"
|
|
end
|
|
require 'builder'
|
|
|
|
begin
|
|
gem 'memcache-client', '>= 1.6.5'
|
|
rescue Gem::LoadError
|
|
$:.unshift "#{File.dirname(__FILE__)}/vendor/memcache-client-1.6.5"
|
|
end
|
|
|
|
begin
|
|
gem 'tzinfo', '~> 0.3.12'
|
|
rescue Gem::LoadError
|
|
$:.unshift "#{File.dirname(__FILE__)}/vendor/tzinfo-0.3.12"
|
|
end
|
|
|
|
# TODO I18n gem has not been released yet
|
|
# begin
|
|
# gem 'i18n', '~> 0.1.3'
|
|
# rescue Gem::LoadError
|
|
$:.unshift "#{File.dirname(__FILE__)}/vendor/i18n-0.1.3/lib"
|
|
require 'i18n'
|
|
# end
|