Thanks, Adam.

This is the  .gitignore
tmp
log
vendor/gems
db/*.sqlite3
data.dump
db/data.yml
config/database.yml


Before i change anything, the site works. after i did 'git push'

D:joke devon$ git push
updating 'refs/heads/master'
  from 513aa15fb9bad334b69f6ddbce9884e370bdad75
  to   a89127d8f7747b8117729999449e62ce19f8ccc6
 Also local refs/remotes/origin/master
Generating pack...
Done counting 6 objects.
Deltifying 6 objects...
 100% (6/6) done
Writing 6 objects...
 100% (6/6) done
Total 6 (delta 1), reused 0 (delta 0)
refs/heads/master: 513aa15fb9bad334b69f6ddbce9884e370bdad75 ->
a89127d8f7747b8117729999449e62ce19f8ccc6
HEAD is now at a89127d... test
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%

Deploy complete.

That happens every time i did git push.

But if i zip the directory and import to the project( use .tar.gz  ),
it works. Don't know why.

You may visit the address : http://joke.heroku.com/


On Jul 16, 11:43 pm, "Adam Wiggins" <[EMAIL PROTECTED]> wrote:
> Heroku doesn't use database.yml as of a few weeks ago, so you should
> be able to put anything in that file that you want.  Where do you see
> this error - in the rake console, on an exception page, etc?  (And if
> you provide the name of your app, we can look at it more closely.)
>
> One thing you might check locally is that your .gitignore doesn't
> contain database.yml.
>
> Adam
>
> On Wed, Jul 16, 2008 at 4:55 AM, jollibee <[EMAIL PROTECTED]> wrote:
>
> > Everytime, after i do 'git push', i got this error:
>
> > No such file or directory - /mnt/home/userapps/xxx/config/database.yml
>
> > How can i fix it? thanks.
--~--~---------~--~----~------------~-------~--~----~
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