Questions tagged [Capistrano] (52)

1
answer

Peregruzka ruby on rails in production without stopping?

Configured Capistrano for deployment. Given that we have a startup, updates occur constantly and during the day you need several times to restart the project, but use this site all the time, so almost each update goes by without a trace and many are frightened that the site falls, even for 10 seconds. Sometimes there are ur...
reyna asked March 31st 20 at 21:11
2
answers

Error when deploying rails application on aws?

Good day! I am new to rails. The application uses a gem browserify-rails. As browserify installed in the application root (npm install -g browserify). Try to deplot on aws (cap production deploy), after some time crashes with the error: DEBUG [da7afbac] rake aborted! DEBUG [da7afbac] BrowserifyRails::BrowserifyError: Unable...
dejah_Hermiston asked March 29th 20 at 23:24
1
answer

Rails whether you need to run tests when you deploy to Mina or Capistrano?

Read article https://1.bp.blogspot.com/-aHRERZHMD80/Wn2u4oHTljI... I think tests are needed when you deploy. Now we run the tests in Travis CI after every push in a branch of the Gita and published in the slack. But let's say A programmer looked at the tests and pulnul in production? Can run tests in a deployment with a tes...
Jesse_Hartmann asked March 17th 20 at 09:39
0
answer

Deploy with Capistrano, it gives an error bash: bundle: command not found?

When start the server throws the error: 07 cd /home/app/project/pervichka/releases/20190203164942 && bundle exec rake db:migrate RAILS_ENV=production 07 bash: bundle: command not found (Backtrace restricted to imported tasks) cap aborted! SSHKit::Runner::ExecuteError: Exception while executing as app@80.87.194.155:...
Dax_Herz asked March 17th 20 at 08:32
1
answer

Is it normal for capistrano deploys rails project from gogs?

Is it normal of gogs rails project teplitsa? Deploy via capistrano.
Golden_Steuber37 asked March 16th 20 at 12:36
1
answer

Update means chef?

Early for rolling out new releases of the applications I have used capistrano but now we have 10 production servers, and because of the nature of the service is regularly need to add new. In order to save yourself time in the future, I decided to spend a couple of days to automate the process of connecting the nodes in the ...
Elinore.Hah asked October 10th 19 at 11:19
2
answers

To run a capistrano script from php

Need to do like a web muzzle to start the deployment. Capistrano is used for deployment. The problem is the following. In the php file run the command cap deploy as follows exec("cap deploy -S svnpass=$svnpass -S sshpass=$sshpass -S dbpass=$dbpass >& outdeploy.log"); get the error "cap not found" If you run with the ...
euna_Heidenreich15 asked October 3rd 19 at 12:57
3
answers

Puppet deploy Rails

Good day! Please tell me how can be deployed to the servers a web application on Rails automatically via Puppet? Capistrano is a very good tool, but whether it can deploy in automatic mode? The simple task of following — will need to pour a lot of the same host — creates a new virtual reality environment used and need to pu...
1
answer

How to deploy a unicorn using capistrano 3?

Good evening. Trying to deploy the site, my Capistrano script. gem-sgem "capistrano", "~> 3.0.1" gem "capistrano-rvm", "~> 0.0.3" gem "capistrano-bundler", "~> 1.0.0" gem "capistrano-rails", "~> 1.1.0" gem "unicorn", "~> 4.7.0" config/unicorn.rbproject_name = 'my_project' root = "/var/www/#{ project_name }/c...
beatrice.Konopels asked October 3rd 19 at 00:51
4
answers

Capistrano stopped deplot because of an error in the ssh login. Where to dig?

Rails 3, ruby 1.9.2, ubuntu, nginx, unicorn, capistrano Deployment occurs with the repository bitbucket.org with key deployment. Last deploy in December 2013, today I tried - not working. When you run cap deploy issues Error reading response length from authentication socket. What I tried to do: - created a new key pair on...
Bill_Wucke asked September 30th 19 at 16:34