In a 1.2.6 app (don’t ask), I don’t see the generators available to me
with the gems installed. However the documentation makes it look like
it should work:
Generator gems are also available:
gem search -r generator
gem install login_generator
./script/generate login
I’ve confirmed that with a fresh rails (2.x) app it works fine. Is
this supposed to work with 1.2.6? Are there any workarounds that
people have? Is my app just fucked atm?
I’ve confirmed that with a fresh rails (2.x) app it works fine. Is
this supposed to work with 1.2.6? Are there any workarounds that
people have? Is my app just fucked atm?
erm, I’ve also confirmed that with a fresh rails 1.2.6 app it DOESN’T
see the gem generators. I’m pretty suspicious though because of that
documentation.
I’ve confirmed that with a fresh rails (2.x) app it works fine. Is
this supposed to work with 1.2.6? Are there any workarounds that
people have? Is my app just fucked atm?
erm, I’ve also confirmed that with a fresh rails 1.2.6 app it DOESN’T
see the gem generators. I’m pretty suspicious though because of that
documentation.
Hey Pat - until recently, generator plugins were only found if they
were named [something]_generator:
So on 1.2.6, you’re kinda screwed unless you want to create a local
copy of the rspec-rails gem named rspec-rails_generator