[typo] edge rails fix

James Nelson zaydana at gmail.com
Wed May 2 09:44:37 EDT 2007


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.

-- 
- James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/typo-list/attachments/20070502/5323488f/attachment.html 


More information about the Typo-list mailing list