Forum: Typo edge rails fix

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4bbcd39c9fe667dedb5c47aa4bec7d5a?d=identicon&s=25 James Nelson (Guest)
on 2007-05-02 15:45
(Received via mailing list)
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 topic is locked and can not be replied to.