Topic: Expected controller error...

My log looks like this:

LoadError (Expected ../config/../app/controllers/cek_controller.rb to define CekController):

..and when I try running console from the server, I get this:

./script/../config/boot.rb:16:in `require': no such file to load -- script/../config/../vendor/rails/railties/lib/initializer (LoadError)
        from ./script/../config/boot.rb:16
        from script/console:2:in `require'
        from script/console:2


Looks like I'm missing the railties folder from /vendor/rails/...

I am running in production off of Dreamhost... any ideas?

TIA

Re: Expected controller error...

run:
rake:freeze:edge TAG=rel_1-2-3

That'll save a copy of the latest stable Rails into your vendor/rails directory.  It looks like the one you have is only partially there.

Re: Expected controller error...

danger wrote:

run:
rake:freeze:edge TAG=rel_1-2-3

That'll save a copy of the latest stable Rails into your vendor/rails directory.  It looks like the one you have is only partially there.

Got this when typing literally as above:

-bash: rake:freeze:edge: command not found

Then tried:

rake freeze:edge TAG=rel_1-2-3

got this:

no such file to load -- /home/.scrawny/dig3rati/cek/config/../vendor/rails/railties/lib/initializer
/home/.scrawny/dig3rati/cek/Rakefile:4
(See full trace by running task with --trace)


-probably should've posted this under Rails Programming..

Last edited by rails.phreak (2007-08-01 13:29:59)