[Rails] What does this error mean when using scaffold?

James Adam james.adam at gmail.com
Sun Jan 1 20:16:24 GMT 2006


Getting back to the original problem, it's because the 'config' method
couldn't be found. Did you remember to install the Engines plugin
itself? (ruby script/plugin install engines) This is the plugin that
defines the 'config' method.

- james

On 1/1/06, Joe Van Dyk <joevandyk at gmail.com> wrote:
> On 12/31/05, Frank Rocco <farocco at verizon.net> wrote:
> > ok, I removed it from my app.
> > Now I get:
> >
> > Last login: Fri Dec 30 22:28:51 on ttyp2
> > Welcome to Darwin!
> > frank-roccos-powerbook58:~ farocco$ source /private/var/tmp/folders.
> > 501/TemporaryItems/Locomotive.1136035608.399420-16807
> > frank-roccos-powerbook58:~/Documents/receipts farocco$ script/
> > generate scaffold receipt receipt
> > ./script/../config/../config/environment.rb:63: undefined method
> > `config' for LoginEngine:Module (NoMethodError)
>
> Look at line 63 in config/environment.rb.  Remove the LoginEngine stuff.
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


More information about the Rails mailing list