ruby on rails - Nothing happens when doing "mina setup" -


i'm trying set mina deploying rails app. unfortunately, when running mina setup or mina deploy, password prompt, , nothing happens anymore.

i can manually ssh given user , password, shouldn't problem. have no idea, mina's stuck:

  josh@macbuech:~/documents/work/muheimwebdesign/base (features/deployment *)$ mina deploy --verbose   base@josh.ch's password:      -----> mina: sigint received.          elapsed time: 61.00 seconds 

interestingly, yesterday able connect (one of dozen retries worded, guess):

josh@macbuech:~/documents/work/muheimwebdesign/base (features/deployment *)$ mina deploy --verbose base@josh.ch's password:         stdin: not tty          jailshell: line 3: cd: /var/www/base.josh.ch: no such file or directory  !     error: not set up.        path '/var/www/base.josh.ch' not accessible on server.         may need run 'mina setup' first.    !     command failed.        failed status 15 

then, couldn't connect server anymore (neither using mina nor plain ssh). had call support, , did re-enabled ssh me. mina still doesn't work.

in config/deploy.rb, added set :user ... , changed :domain, :deploy_to , :repository.

set :domain, 'josh.ch' set :user, 'base' set :deploy_to, "/var/www/base.josh.ch" set :repository, 'git://jmuheim/base' set :branch, 'master' 

any idea? i'd rather not switch capistrano... thank you.

this old question future googlers stumble across this. had issue described in question, mina hanging after password entry. looking around in issues section of mina git repo lead me the fix, albeit silly one.

in deploy.rb file put setting:

set :term_mode, nil 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -