Forum: Ruby on Rails Error when starting WebBrick after installing Login Engine.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
73174d2a6d799c23d0200b2afaed0ee1?d=identicon&s=25 Carlos Kozuszko (Guest)
on 2005-12-27 21:15
(Received via mailing list)
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
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2005-12-27 22:34
(Received via mailing list)
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
73174d2a6d799c23d0200b2afaed0ee1?d=identicon&s=25 Carlos Kozuszko (Guest)
on 2005-12-28 00:37
(Received via mailing list)
On 12/27/05, James Adam <james.adam@gmail.com> 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.
This topic is locked and can not be replied to.