Here’s another little problem I was just hitting and the solution in case it happens to help someone else out there.
If you’re trying to use a plugin (in this case the restful_authentication plugin) and you’re hitting an error like this when you use ./script/generate:
“Couldn’t find ‘authenticated’ generator”
Check to make sure that you have actually installed the plugin.
In my case, I’d done something like this:
matt@tigger:~/work/rails/streetloop$ script plugin install http://svn.techno-weenie.net/projects/plugins/restful_authentication/
Script started, file is plugin
I’d assumed this had installed the plugin, but I don’t think it had.
The correct syntax seemed to be this:
script/plugin install restful_authentication
[Note the use of the name of the plugin instead of the URL as before.]
This resulted in much more promising-looking output:
matt@tigger:~/work/rails/streetloop$ script/plugin install restful_authentication
Sure enough, with that installed, ./script/generate worked fine.
Hope that helps you too.