Yeah, but it's there! Refreshed my remote server and it's still there.

This is my deploy.rb part:

namespace :deploy do
task :start do ; end
task :stop do ; end
task :restart, :roles => :app, :except => { :no_release => true } do
run "#{try_sudo} touch

after "deploy:update_code", :link_production_db, 'dragonfly:symlink'

desc "Link database.yml from shared path"
task :link_production_db do
run "ln -nfs #{deploy_to}/#{shared_dir}/config/database.yml
run "ln -nfs #{deploy_to}/#{shared_dir}/config/email.yml

And database.yml and email.yml are in /shared/config folder as they
have always been.

But look at the Capistrano output:
triggering after callbacks for `deploy:update_code'
* executing `deploy:assets:precompile'
* executing "cd ~/rails/releases/20120202183436 && bundle exec rake
RAILS_ENV=production RAILS_GROUPS=assets assets:precompile"

It does not mention the symlink commands. It directly executes the
Bundle command. I cannot remember it normally does.

On 2 feb, 19:24, Greg Akins wrote:
On Thu, Feb 2, 2012 at 1:20 PM, javinto wrote:
*** [err :: ] rake aborted!
*** [err ::  No such file or directory - /var/www/vhosts/server/rails/
This may not be the symlink, but that the database.yml isn't deployed,
and needs to be copied manually from an older version on the server,
or from your own machine.

Your situation may differ, but I use capistrano to deploy from the
SCM, so if it's not there, it's not going to make it to your server.

Greg Akins
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
To unsubscribe from this group, send email to
For more options, visit this group at

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 9 | next ›
Discussion Overview
grouprubyonrails-talk @
postedFeb 2, '12 at 4:58p
activeFeb 12, '12 at 10:53p



site design / logo © 2021 Grokbase