Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails environment loading triggered in rsync cache directory #10

Open
rubyconvict opened this issue May 10, 2014 · 0 comments
Open

Rails environment loading triggered in rsync cache directory #10

rubyconvict opened this issue May 10, 2014 · 0 comments

Comments

@rubyconvict
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant