I rename the file to 001_create_xxx, and do 'git push', the error
still happens.

Also, rake console doesn't work because it cannot found the
'database.yml'.

Another problem i got is: If i change something in the web editor, i
cannot get it back to my local use 'git pull' or 'heroku clone xxx'.

Hope heroku will support 2.1 soon.


Total 4 (delta 0), reused 0 (delta 0)
refs/heads/master: a89127d8f7747b8117729999449e62ce19f8ccc6 ->
be24aa8cf330f48d2899a451a3a4e51e56289cf4
HEAD is now at be24aa8... ok
Running migrations...
rake aborted!
No such file or directory - /mnt/home/userapps/24433/config/
database.yml

(See full trace by running task with --trace)
(in /mnt/home/userapps/24433)
App restarting...
########################################################################
100.0%

Deployed to http://joke.heroku.com
D:joke devon$ ls db/migrate/
001_create_jokes.rb


On Jul 18, 2:58 am, "Adam Wiggins" <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 17, 2008 at 12:27 AM, jollibee <[EMAIL PROTECTED]> wrote:
> > Running migrations...
> > rake aborted!
>
> Trying to run the migration through the rake console in the web
> editor, it looks like the problem here is that you've got Rails
> 2.1-style migrations in the app.  Try renaming them to the 001_ style
> of naming for now.
>
> I notice, however, that your main table is already in the app, so the
> app does work fine.  We'll have support for the newer style of
> migrations very soon.
>
> Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to