I’m failing at the first step here. I’ve tried taking an existing
and placing it in my .rails/generators folder. I’ve tried using code
downloaded from the Rail site - tabbed navbar generator - and placing it
the same directory. I’ve placed both in the RAILSROOT/lib/generators
I’ve tried different generators (like CRUDGenerator2)
All of them do the same when I run script/generate: nothing. Nothing at
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
a different PC.