Reputation: 13
There is a plugin in here:
myproject\vendor\plugins\myplugin
How can i activate this plugin? what should i write?
Upvotes: 1
Views: 357
Reputation: 163238
I actually don't think you need to require
anything.
EDIT: As @Ryan Bigg said, if your plugin has either a init.rb
or plugin_name.rb
file, it will be automatically loaded. This goes without saying that you should require
your plugin's files from within that file.
Upvotes: 1