# 0x0082.io

capistrano-linked-files

This is a ruby gem that provides Capistrano 3.1 reciepes to upload linked files and directories. It’s quite useful for files such as config/database.yml and config/secret.yml, which are usually ignored (at least they should be) from version control systems.

Linked files and directories are placed in the shared directory on the remote servers, and kept between deployments. After a new deployment, a symlink is created from the shared directory to the current directory.

This project was inspired by damselem’s capistrano-shared-files , but capistrano-linked-files uses the “built in” Capistrano configuration variables linked_files and linked_dirs instead of custom ones. This way it’s not necessary to specify the linked files twice.