I was able to successfully do a cap deploy:setup and cold
Now I went back to send a change to the server. I got all of my files into github fine, my cap deploy went fine, it compled without error, however I get the following screen (passenger error message):
Further information about the error may have been written to the application's...
I have a local repository for my app (created using TortoiseSVN) at c:\lap-svn\gws
My deploy.rb has:
set :user, '<removed>'
set :application, "gws"
set :repository, "file:///c:/lap-svn/gws"
set :server, 'plantality.com'
set :applicationdir, 'gws'
set :use_sudo, false
set :keep_releases, 5
set :deploy_via, :copy
set :scm, :none
When...
I'm doing my first deployment of a Rails app and using capistrano. The installation aborts with the following error:
*** [err :: plantality.com] RubyGem version error: will_paginate(2.2.2 not ~> 2.3.11)
but I've already vendored 2.3.11 to vendor/gems and have the following in my environment.rb (which google tells me is the correct thi...
I'm doing my first Rails deployment and using capistrano, following my host's directions:
I have the domain plantality.com.
I've created the gws folder for my app.
I've installed with capistrano and followed all the wiki instructions I could find.
public_html is pointing to gws/public but capistano has installed my app to gws/current...
I'm getting a port error when I try to deploy my app via:
cap deploy:cold
The error:
ssh: connect to host domain.com port 22: Connection refused
My deploy.rb (replaced sensitive info where appropriate):
set :user, 'user'
set :domain, 'domain.com'
set :application, "App Name"
# file paths
set :repository, "[email protected]:git/a...
I've frozen my gems locally, and commit them in latest git version. I pushed this to my production server, and my capfile automatically pulls this when deploying (via locally stored git).
Now the issue I run into is that even though I know the server has the gem installed, when I deploy using "cap deploy:cold", I get the following erro...
So I am using Capistrano to deploy a rails application to my production server (apache+passenger) and at the moment deployment usually goes along the lines:
$cap deploy
$cap deploy:migrations
It got me wondering, let's say my db:migrations took a long time to execute on the production server (a big refactor of the db schema) - in this...
I just need some clarification on a couple of files.
My site has an admin subdomain and SSL in addition to the normal *:80 details found in the virtual hosts.
My question(s): Do I need to specify a 1) ServerName and 2) DocumentRoot in: /etc/apache2/apache2.conf?
I currently enable my site from this directory: /etc/apache2/sites-availa...
Let's say you have a project running on apache. I use capistrano to deploy new code and update a httpd.conf/other configuration files, I then reload all of my services (reloading the configs).
How is rollback managed? I wouldn't assume cap rollback would put the old configs in place and reload. Is this possible? Can you show me an examp...
I am trying to do 'deploy:cold' for my app. The git repo is local to
my deployment server (i.e. I only have one server for everything and I
don't host my code on github).
Here is the transcript (replaced my app name with "myapp" for privacy)
executing `deploy:cold'
executing `deploy:update'
** transaction: start
executing `deploy:upda...
Hello stackoverflow experts,
I got a very strange problem in a task I'm creating with Capistrano. I'm trying to pass a variable from the command line:
>> cap create_dir -s name_of_dir=mydir
task :create_dir do
printf("#{name_of_dir}")
if !(exists?(:name_of_dir)) then
name_of_dir = Capistrano::CLI.ui.ask("Name of dir to be ...
My provider (dreamhost) changed servers on me. My cap deploy:migrations command is now giving me grief. It uses the new servername everywhere except when it asks for my password.
Instead of
[email protected]
It uses
[email protected]
A sanitized version of the outputs is below....
Hello All,
I'm struggling to get Sphinx back up and running after deploying a rails app to my VPS.
Specifically, I'm thrown this error:
** [out :: myapp.com] => Mixing in Lockdown version: 1.6.4
** [out :: myapp.com]
** [out :: myapp.com] Failed to start searchd daemon. Check /var/www/myapp/releases/20100227224936/log/searchd.log.
** ...
I'm sort of stuck with adding symlinks to my app on the server. I currently have the following in .gitignore:
/non-public/system/uploads/*
I basically don't want Git to store the contents of the upload directory. So far so good.
On my server, inside my deploy.rb, I have the following:
namespace :customs do
task :symlink, :roles =...
My deployment of a rails app with capistrano is failing and I hoping someone can provide me with pointers to troubleshoot.
The following is the command output
andrew@melb-web:~/projects/rails/guestbook2$ cap deploy:setup
* executing `deploy:setup'
* executing "mkdir -p /var/www/dev/guestbook2 /var/www/dev/guestbook2/releases ...
Is it possible to configure Rails so caches created with caches_page survive a Capistrano deploy? Ie, can I configure the cache to be saved into a shared directory rather than in the public directory?
...
This is not a ruby/rails project deploy. I have the following situation and I would like to know if Capistrano can solve my problem, or if you know something more proper.
A host Windows machine, with ruby installed and capistrano.
This machine have some files in a folder, that will be updated (all or just some).
The goal is to sync the...
In my Capistrano deploy.rb, I have a couple of daemons like delayed_jobs and fetcher, starting and stopping depending on where they are in the deployment process.
This method would create problems if a deployment fails, because the daemons wouldn't be managed properly (ie. two processes spawned instead of one, or processes were shutdown...
how to easily update php web application to multiple server ? i read about capistrano, can it be use for PHP ?
Please Help
Regards,
REV
...
We are finding that merging using tortise SVN is slow and cumbersome, we've also recently started using capistrano (capify) to deploy to development.
Is there a way to merge revisions to a branch and automatically deploy to another environment if needed?
Thanks
...