##// END OF EJS Templates
Ruby 1.9: set Encoding.default_external = 'UTF-8' (#4050)....
Toshi MARUYAMA -
r6341:bbb6048f6598
parent child
Show More
@@ -7,6 +7,10
7 # Specifies gem version of Rails to use when vendor/rails is not present
7 # Specifies gem version of Rails to use when vendor/rails is not present
8 RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION
8 RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION
9
9
10 if RUBY_VERSION >= '1.9'
11 Encoding.default_external = 'UTF-8'
12 end
13
10 # Bootstrap the Rails environment, frameworks, and default configuration
14 # Bootstrap the Rails environment, frameworks, and default configuration
11 require File.join(File.dirname(__FILE__), 'boot')
15 require File.join(File.dirname(__FILE__), 'boot')
12
16
General Comments 0
You need to be logged in to leave comments. Login now