Feature #4050 » Ruby-1.9-Encoding.default_external.diff
| config/environment.rb | ||
|---|---|---|
|
# Specifies gem version of Rails to use when vendor/rails is not present
|
||
|
RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION
|
||
|
if RUBY_VERSION >= '1.9'
|
||
|
Encoding.default_external = 'UTF-8'
|
||
|
end
|
||
|
# Bootstrap the Rails environment, frameworks, and default configuration
|
||
|
require File.join(File.dirname(__FILE__), 'boot')
|
||