mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.36k stars 492 forks source link

Mina::Error: Setting :shared_paths is not set #445

Closed requnix closed 8 years ago

requnix commented 8 years ago

I'm using the template as generated as a starting point. It provides the following:

set :shared_dirs, fetch(:shared_dirs, []).push('config')
set :shared_files, fetch(:shared_files, []).push('config/database.yml', 'config/secrets.yml')

As you see it it provides two settings :shared_dirs and :shared_files, but no :shared_paths. How should I set this? The same as those two?

requnix commented 8 years ago

Sorry, I think this happened because I had mixed versions of Mina running. Running it out of a bundle doesn't give this error.