Pat Maddox wrote:
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:
1. gem search -r generator
2. gem install login_generator
3. ./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?
Pat
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
Hmm.. I don't know if that was supported in 1.2.6.. I know having
generators in your home dir was.
Try this workaround:
mkdir -p ~/.rails/generators
ln -s /your_gem_path/rspec-rails-1.1.8/generators
~/.rails/generators/rspec-rails-1.1.8
HTH,
Ben
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users