[Rails] Problem running rake db:migrate
Jean-François
jf.web3 at gmail.com
Tue Jul 25 21:17:10 GMT 2006
Hello Chris,
> I'm having a great deal of trouble getting rake to run migrations
> on our staging server. Everything works fine on my dev box,
> but trying to run the following on staging results in errors.
>
> -----
> > rake db:migrate
> (in /var/www/apps/acadtech2/app)
> rake aborted!
> Don't know how to build task 'db:migrate'
>
> (See full trace by running task with --trace)
> ----
>
> The box has Ruby 1.8.4 and Rails 1.1.2.
>
> Any hints or suggestions appreciated.
I haven't the solution (are you sure you runned the command
in RAILS_ROOT ?) but first, be sure you've got the
right list of tasks by checking with :
$ rake --tasks
-- Jean-François.
--
À la renverse.
More information about the Rails
mailing list