Generate authenticated user error

I am pulling my teeth out over here. It makes sense that the second step
in setting something (role_requirements in this case) I have problems -
thats just how I roll…pun intended!

I run this:

ruby script/generate authenticated user sessions

after running this

sudo ruby script/plugin install http://rolerequirement.googlecode.com/s
… quirement/

as told by this: Google Code Archive - Long-term storage for Google Code Project Hosting.

and I get this error:

./script/../config/../config/environment.rb:61: undefined local variable or method `config' for main:Object (NameError) from .../vendor/rails/railties/lib/commands/generate.rb:1:in `require' from .../vendor/rails/railties/lib/commands/generate.rb:1 from script/generate:3:in `require' from script/generate:3

replace … with the full directory.

Could someone please translate. Thank you smile