I’m failing at the first step here. I’ve tried taking an existing generator and placing it in my .rails/generators folder. I’ve tried using code downloaded from the Rail site - tabbed navbar generator - and placing it in the same directory. I’ve placed both in the RAILSROOT/lib/generators folder. I’ve tried different generators (like CRUDGenerator2)
All of them do the same when I run script/generate: nothing. Nothing at all.
If I call an unknown generator, generate tells me. If I run with trace I still get nothing.
In each case, under the generators/ folder I’ve placed a folder called xxx_generator, containing the templates directory and the ruby file.
I’m running Windows XP.
What am I missing? This happened when I tried to write generators before, on a different PC.