Hi,
I''m in the middle of converting one of my Rails-Apps to a plugin/
engine. Because this new plugin requires a lot of plugins I moved them
to RAILS_ROOT/vender/plugins/my_plugin/plugins and added
config.plugin_paths += %W( #{RAILS_ROOT}/vendor/plugins/my_plugin/
plugins )
to my RAILS_ROOT/config/environment.rb. To reduce the necessary logic
in the surrounding Railsapp I want to move this to my plugin too. To
put it in the init.rb of my plugin doesn''t work. Is there an other way
to set this paths??
Best regards, Mark
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.