Weird issue getting even into the console


#1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there any way this situation can arise? I’m perplexed.

[52] trejkaz@raven:~/Development/Typo> script/console
Loading development environment.
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/
dependencies.rb:200:in `const_missing’:NameError: uninitialized
constant ApplicationController

ApplicationController
NameError: uninitialized constant ApplicationController
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
active_support/dependencies.rb:195:in `const_missing’
from (irb):1

The same thing happens trying to run the tests, migrate, etc.

Any ideas?

TX

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEZc/cuMe8iwN+6nMRAmZXAKCUMfcI6UQoHfQ0lFfJDCaTp4Ni3wCgkwqU
AJTQZzu4XMmIt9Ryp+mFcxA=
=uGk2
-----END PGP SIGNATURE-----


#2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13/05/2006, at 22:23 PM, Trejkaz wrote:

Any ideas?

To answer my own question, it was probably a bug in Active Record,
which is fixed now. Now I just wonder why about 90% of my unit tests
fail. I haven’t modified that much from the trunk. :-/

TX

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEZdNAuMe8iwN+6nMRAlOzAJ9W0+SeU9vYfBpq+F4XxNOVtF46bgCgggEO
jJRe2Xx3CcJcwu6gPKJ+x14=
=u8x2
-----END PGP SIGNATURE-----


#3

Trejkaz removed_email_address@domain.invalid writes:

On 13/05/2006, at 22:23 PM, Trejkaz wrote:

Any ideas?

To answer my own question, it was probably a bug in Active Record,
which is fixed now. Now I just wonder why about 90% of my unit tests
fail. I haven’t modified that much from the trunk. :-/

Some pretty big changes in the trunk recently, mostly affecting
content and its subclasses.


#4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13/05/2006, at 23:52 PM, Piers C. wrote:

content and its subclasses.
Turned out to be not having executed “rake db:test:clone”. I suppose
that in the past, the committers must have run this for us.

I’m back at 100% test success now.

TX

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEZfDfuMe8iwN+6nMRAjabAJ4q4HE/jNfwBmIJj6jaTmM+6WOPvQCePUOK
GgdVFa4ZOKZfSfxh+1QRRa0=
=+OZ2
-----END PGP SIGNATURE-----