Generators from plugins in non standard location

When you run script/generate it does not look for generators in plugins other than those in vendor/plugins (i.e. it does not take the into account config.plugin_paths). There's no way it could right now since it doesn't require environment.rb. Any ideas on how this could be made to work nicely ?