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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs