scinote-web/config/environment.rb

10 lines
236 B
Ruby
Raw Normal View History

2016-02-12 23:52:43 +08:00
# Load the Rails application.
2017-06-23 21:19:08 +08:00
require_relative 'application'
2016-02-12 23:52:43 +08:00
# Set the encoding
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
2016-02-12 23:52:43 +08:00
# Initialize the Rails application.
Rails.application.initialize!