mina-rsync
mina-rsync copied to clipboard
Rails environment loading triggered in rsync cache directory
Checking connectivity... done.
-----> Staging...
Git checkout: HEAD is now at 3359fcf d
/Users/XXX/Projekty/xxx/tmp/deploy/config/initializers/devise.rb:225: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55: warning: previous definition of VERIFY_PEER was here
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - /Users/XXX/Projekty/xxx/tmp/deploy/config/application.yml
/Users/XXX/Projekty/xxx/vendor/bundle/ruby/2.1.0/gems/settingslogic-2.0.9/lib/settingslogic.rb:102:in `initialize'
(...)
error is igonred and the deploy goes on without problem
Obviously clean clone from the repo does not have server specific (private) config files, so this does pose a problem. I used settings_logic and figaro, both affected.
This is all I have in 'deploy' task:
task :deploy => :environment do
deploy do
invoke "rsync:deploy"
invoke :'deploy:link_shared_paths'
and
This does not happen with default git driven deploys, of course.