Description: FHS schema dump db:schema:dump, called by rake db:migrate, writes to /usr/share/redmine/db. Instead, use per-instance cache directory. Forwarded: not-needed Author: Jérémy Lal Last-Update: 2010-05-25 Index: b/config/environment.rb =================================================================== --- a/config/environment.rb 2011-03-08 10:26:56.000000000 +0100 +++ b/config/environment.rb 2011-03-08 10:26:56.000000000 +0100 @@ -11,6 +11,7 @@ ENV['RAILS_LOG'] ||= "/var/log/redmine/#{ENV['X_DEBIAN_SITEID']}" ENV['RAILS_VAR'] ||= "/var/lib/redmine/#{ENV['X_DEBIAN_SITEID']}" ENV['RAILS_CACHE'] ||= "/var/cache/redmine/#{ENV['X_DEBIAN_SITEID']}" +ENV['SCHEMA'] ||= "#{ENV['RAILS_CACHE']}/schema.db" # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION