OK, probably the most frustrated I’ve ever been with Rails. If I don’t
figure this out, I’m going to, um… try again tomorrow.
I’m simply trying to create a plugin. I did the ./script/generate
plugin MY_NEW_PLUGIN and wha-hoo great! Well, not really…
This plugin uses other plugins. For example, acts_as_list,
acts_as_money etc… How the heck to I get these plugins loaded and
ready to be used? I’ve put them here:
I’ve added all of their paths and lib paths to the config.load_paths
variable, I’ve tried loading (require and load) their init.rb files.
And no matter what, it’s pretty obvious that the paths aren’t setup
correctly. I’ve even tried
$: << ‘path/to/acts_as_list’
$: << ‘path/to/acts_as_list/lib’
I’d like to be able to specify additional load_paths in init.rb and
then use config.plugins - seems logical.?