test/rails/config/environment.rb in gettext-1.91.0 vs test/rails/config/environment.rb in gettext-1.92.0
- old
+ new
@@ -5,11 +5,11 @@
# ENV['RAILS_ENV'] ||= 'production'
$KCODE = "U"
# Specifies gem version of Rails to use when vendor/rails is not present
-RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION
+RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
$:.insert RAILS_ROOT + "/../../lib"
@@ -47,10 +47,12 @@
# See Rails::Configuration for more options
config.action_controller.session = {
:session_key => '_blog_session',
:secret => '481e79cd6d557ee64d26390fb85013f3'
}
+
+ config.gem 'gettext', :lib => 'gettext/rails'
end
# Add new inflection rules using the following format
# (all these examples are active by default):
# Inflector.inflections do |inflect|
@@ -64,6 +66,5 @@
# Mime::Type.register "text/richtext", :rtf
# Mime::Type.register "application/x-mobile", :mobile
# Include your application configuration below
-require 'gettext/rails'