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:
<code>
ruby script/generate authenticated user sessions
</code>
after running this
<code>
sudo ruby script/plugin install http://rolerequirement.googlecode.com/s
... quirement/
</code>
as told by this: http://code.google.com/p/rolerequirement/
and I get this error:
<code>
./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
</code>
replace ... with the full directory.
Could someone please translate. Thank you smile
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---