Thanks for your reply!
That was my first thought as well so I checked the database.yml on the
server. But what I forgot was that I was strugling with the repository
in my new editor TextMate. So I had to check in all new files with my
old editor thereby including the database.yml file as well..... which
should not have happened as it is shared.
So now I got them out of the repository, did a export to check they
are really gone. Checked the shared/config path on the server to see
if they are still there and now on deployment I get this:
executing "cd ~/rails/releases/20120202180855 && bundle exec rake
RAILS_ENV=production RAILS_GROUPS=assets assets:precompile"
servers: [""]
[] executing command
*** [err :: ] rake aborted!
*** [err :: No such file or directory - /var/www/vhosts/server/rails/
releases/20120202180855/config/database.yml
It looks like the symlink which is automatically applied by Capistrano
does not get fired..... I'm out of ideas.
On 2 feb, 18:20, Greg Akins <[email protected]> wrote:
> On Thu, Feb 2, 2012 at 11:58 AM, javinto <[email protected]> wrote:
> > [server] executing command
> > *** [err :: server] rake aborted!
> > *** [err :: server Can't connect to local MySQL server through socket
> > '/tmp/mysql.sock' (2)
> > *** [err :: server]
> > *** [err :: server] Tasks: TOP => environment
> > *** [err :: server] (See full trace by running task with --trace)
>
> Can you check your database.yml?
>
> /tmp/mysql.sock looks like a OSX location.. Wondering if you copied
> your dev properties to production?
> --
> Greg Akinshttp://twitter.com/akinsgre
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en.