Git Product home page Git Product logo

mina-scp's Issues

Only one part of one task executed

In the following task:

desc "Upload secret configuration files."
task :config => :environment do
  queue! scp_upload "#{app_root}/config/application.yml", "#{deploy_to}/shared/config/application.yml", verbose: true
  queue! scp_upload "#{app_root}/config/database.yml", "#{deploy_to}/shared/config/database.yml", verbose: true
end

The first call to scp_upload is successful, but the second one is never triggered. Observe:

➜  recruiter git:(master) ✗ mina config
       $ scp /Users/jrhorn424/projects/ices-recruiter/recruiter/config/application.yml [email protected]:/u/apps/recruiter/shared/config/application.yml
application.yml                                                      100%  560     0.6KB/s   00:00
➜  recruiter git:(master) ✗

Edit: Upon reviewing the source code for mina-scp, this is likely either a problem with return codes or my understanding of how to create mina tasks.

Undefined method 'domain!'

Hi,

After upgrading to mina 1.0.3 (and using mina-scp 0.1.2) I started seeing this when I do an scp_upload:

mina aborted!
NoMethodError: undefined method domain!' for main:Object /Users/alxx/.rvm/gems/ruby-2.2.3@latestrails/gems/mina-scp-0.1.2/lib/mina/scp.rb:2:in scp_transfer'
/Users/alxx/.rvm/gems/ruby-2.2.3@latestrails/gems/mina-scp-0.1.2/lib/mina/scp.rb:23:in `scp_upload'

Any ideas?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.