Carlos Kozuszko
2005-Dec-27 20:10 UTC
Error when starting WebBrick after installing Login Engine.
I''ve installed and configured my app according to the instructions of the README file. When I try to start WebBrick i get the following error: ./script/../config/../config/environment.rb:55: undefined method `config'' for LoginEngine:Module (NoMethodError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'' [...] environment.rb has this on line 55: 54: module LoginEngine 55: config :salt => "your-salt-here" 56: end 57: 58: Engines.start :login Any ideas ? TIA, ckozus. -- Web Site: http://www.ckozus.com.ar Blog: http://www.ckozus.com.ar/blog Mis links: http://del.icio.us/ckozus
James Adam
2005-Dec-27 21:32 UTC
Re: Error when starting WebBrick after installing Login Engine.
Have you also installed the engines plugin itself? It''s this plugin that provides some of the methods (the ''config'' one, for instance) that the login engine uses. cd your_rails_app script/plugin discover (to add new sources) script/plugin install engines (to install the engines plugin itself) Give that a go... - james On 12/27/05, Carlos Kozuszko <ckozus-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve installed and configured my app according to the instructions of the > README file. When I try to start WebBrick i get the following error: > > ./script/../config/../config/environment.rb:55: undefined method `config'' for > LoginEngine:Module (NoMethodError) > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require__'' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in > `require'' > [...] > > environment.rb has this on line 55: > 54: module LoginEngine > 55: config :salt => "your-salt-here" > 56: end > 57: > 58: Engines.start :login > > Any ideas ? > > TIA, > > ckozus. > > -- > Web Site: http://www.ckozus.com.ar > Blog: http://www.ckozus.com.ar/blog > Mis links: http://del.icio.us/ckozus > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Carlos Kozuszko
2005-Dec-27 23:34 UTC
Re: Error when starting WebBrick after installing Login Engine.
On 12/27/05, James Adam <james.adam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Have you also installed the engines plugin itself? It''s this plugin > that provides some of the methods (the ''config'' one, for instance) > that the login engine uses. > > cd your_rails_app > script/plugin discover (to add new sources) > script/plugin install engines (to install the engines plugin itself)Thanks James! That was the problem. ckozus. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails