@@ -7,7 +7,7 | |||||
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.14' unless defined? RAILS_GEM_VERSION |
|
8 | RAILS_GEM_VERSION = '2.3.14' unless defined? RAILS_GEM_VERSION | |
9 |
|
9 | |||
10 | if RUBY_VERSION >= '1.9' |
|
10 | if RUBY_VERSION >= '1.9' && defined?(Rails) && Rails::VERSION::MAJOR < 3 | |
11 | Encoding.default_external = 'UTF-8' |
|
11 | Encoding.default_external = 'UTF-8' | |
12 | end |
|
12 | end | |
13 |
|
13 |
General Comments 0
You need to be logged in to leave comments.
Login now