Folks I am new so I apologize if I come off as a totaly tool. I am
finding Rails to be an amazing framework to use and having fun with it.
I have run into a frustrating snag however with PLUGINS.
I have a plugin installed in: /myapp/vendor/plugins/
When I run: ruby script/server in /myapp/ my WEBrick starts normally and
I can access IP:3000. I get the default rails index page.
How do I “enable” the plugin? How do I tell the app to use it? I try to
access the directories and I just get 404 not founds so obviously I am
not doing it correctly.
Folks I am new so I apologize if I come off as a totaly tool. I am
finding Rails to be an amazing framework to use and having fun with it.
I have run into a frustrating snag however with PLUGINS.
I have a plugin installed in: /myapp/vendor/plugins/
When I run: ruby script/server in /myapp/ my WEBrick starts normally and
I can access IP:3000. I get the default rails index page.
How do I “enable” the plugin? How do I tell the app to use it? I try to
access the directories and I just get 404 not founds so obviously I am
not doing it correctly.
Normally, you don’t have to do anything to ‘enable’ a plugin; when
Rails starts up, the plugin’s init.rb file will be evaluated, and the
plugin should do anything it needs at that point.
Using a plugin depends from each to the next. Some provide new syntax
or macro-esque methods that you can use in your controllers or models,
in which case the plugin will probably do nothing until you make use
of those features in your code.