Edge rails fix

There was a problem when running in edge rails, due to the localization
plugin occuring twice in environment.rb. The fix was to change line 21
in
environment.rb from :

config.plugins.push("#{dir}") if
File.directory?("#{RAILS_ROOT}/vendor/plugins/#{dir}/lib")

to:

config.plugins.push("#{dir}") if
(File.directory?("#{RAILS_ROOT}/vendor/plugins/#{dir}/lib")
&& dir != ‘localization’)

For the record, i’m using typo 4.1.