[Retrospectiva] #{RAILS_ROOT}/config

environment.rb

まずはここから。

config.frameworks -= [ :action_web_service ]

ActionWebServiceは使わんらしい。

# Use Active Record's schema dumper instead of SQL when creating the test database
# (enables use of different database adapters for development and test environments)
config.active_record.schema_format = :ruby

ダンプファイルはrubyで生成。こんな設定あったのか。へーへー。
結構便利そう。

config.load_paths += %W(
  vendor/coderay-0.7.4/lib
).map {|dir| "#{RAILS_ROOT}/#{dir}"}.select { |dir| File.directory?(dir) }

coderayっていうruby用ハイライトツールの設定。同様のツールのSyntaxより早いらしい。(via http://wota.jp/ac/?date=0111

unless Object.const_defined?(:ENABLE_SUBVERSION) && 
        Object.const_get(:ENABLE_SUBVERSION) == false
  begin
    require 'svn/core'
    require 'svn/fs'
    require 'svn/delta'
    require 'svn/repos'
    require 'svn/client'
    ENABLE_SUBVERSION = true
  rescue LoadError
    ENABLE_SUBVERSION = false
  end
end

ここでsvnが使えるようにしてますよ。