Displaying 20 results from an estimated 600 matches similar to: "Capistrano :update_code problem"
2006 May 14
3
Configuring Capistrano For Local To Remote Deployment
How does one configure capistrano for moving local file to your remote
server? In the docs it says that one cannot use file:// so what''s the
configuration step for resolving this issue?
Thanks in advance,
-Conrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060514/93bb7173/attachment-0001.html
2006 Oct 03
3
Capistrano and Uploaded Documents
I have an application I''m working on which allows me to upload files. The
files are stored somewhere in the public directory so that they can be
accessed directly. When I deploy an update with Capistrano, I ''lose'' the
files because of the current symlink points to the new checked out version.
Before I start working on a solution, has anyone else already solved this
2006 Feb 19
8
SwitchTower to skip config/ directory
Hello,
I am trying to figure out how to use switch tower.I have a local copy of
source code and I want to put it on the host.Now I dont want to put
directories like config/ because the settings on the host and the one on my
machine are different.
Any way to do this?
Also is svn necessary to use SwitchTower?
Vivek
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Sep 27
3
Rails3 app deploy : how to ?
Hello,
I know many people are asking this kind of question. I searched in
this forum and some others in the web but i did found something clear
enough for my "ror''s power" (i''m not completly new but real
close ;-) )
Well, I''m developing my application on os x, i''m using svn (team
choice) for versionning but i will need to deploy on linux server
(with
2013 Mar 03
1
Deploy with Capistrano. Bundle install freezes indefinetly.
I am fighting with this for 5 days... i''m getting crazy!
Here is my deploy.rb:
require "bundler/capistrano"
require "rvm/capistrano" # Load RVM''s capistrano plugin.
set :rvm_ruby_string, :local # Or whatever env you want it to run
in. ''1.9.3''
set :domain, ''www.xxx.com''
set :application,
2011 Nov 09
4
Starting out with puppet and capistrano
Hey guys.
I am starting out with puppet and am in the process of writing a
bootstrap script for the clients and a capistrano recipe for the
server. I have the client bootstrap done which installs ruby, puppet,
sets a host name, and then points the client at the puppet server and
now I am in the process of setting up the puppet server.
My first attempt was to set up a git project for puppet, an
2007 Oct 12
1
capistrano 2 error with DB server
Hi all
I am trying to set up capistrano and it is failing when it tries to
call an svn command on the db server, where svn is not installed.
Here is the error message.
============================================================================
============================================================================
[192.168.1.22] executing command
[myserver.com] executing command
**
2006 Mar 07
17
[UNDER CONSTRUCTION] YAC? (Yet Another Capistrano)
My needs are far more modest than Capistrano''s capabilities. Also, when
working in a shared hosting environment, the Capistrano model can be
outside the capabilities allowed by the Web host.
I simply need to push selected directories (on a changed-file basis) out
to a server. I have about 80% of the code written to do this (I''m
considering YAC for the name, with a nod to
2006 Feb 25
1
a switchtower recipe to copy rather than checkout
For those who want use switchtower to deploy to a remote server that does not have
access to the main subversion repository, here is a task I just hacked up to use
switchtower to deploy to my servers by copying a local directory to the servers, rather
than have the servers use svn checkout.
I actually create my local directory using an svn export, but you can do whatever you
like here, and just
2013 Mar 14
1
Ubuntu 12.10 Nginx Rails 3.2.13. Deploy in sub URI. Nothing happens!
Dear friends,
I followed the guide on
http://techoctave.com/c7/posts/16-how-to-host-a-rails-app-with-phusion-passenger-for-nginx
and successfully deployed two apps on the same web server, some months ago.
Then when I upgraded to Rails 2.3.13.rc1 everything seems to be OK, but
when I visit my app with the browser all that I get is the Welcome page
from Nginx.
Here is my nginx.conf:
2006 Jan 14
2
SwitchTower and SCGI
Hi !
Following the manual, section 2.6 describes how to replace the restart
task. Since I''m using Lighttpd and SCGI, I did the following:
desc "Restart the web server"
task :restart, :roles => :app do
sudo "cd #{deploy_to}/#{current} && scgi_cluster stop <
#{deploy_to}/#{current}/config/.password"
sudo "cd #{deploy_to}/#{current} &&
2006 Apr 25
4
Symlinks in Capistrano?
I have a few projects with large directories (say, user-uploaded files) that
make using Capistrano a bit awkward. However, I suspect that I may have
reached the "write a custom task" level.
(I suppose I''m just thinking out loud, here...)
It seems as though I''d want this directories symlinked in /shared... Maybe
there''s a way to extend the
2006 Feb 21
9
SwitchTower 1.0.1, SwitchTower Extensions
SwitchTower is a utility that can execute commands in parallel on
multiple servers. It allows you to define tasks, which can include
commands that are executed on the servers. You can also define roles
for your servers, and then specify that certain tasks apply only to
certain roles.
Manual: http://manuals.rubyonrails.org/read/book/17
Project:
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi.
I am using BackgrounDRb to process thumbnails and upload to S3 -
things are hunky-dory in development (thumbs are generated, these are
uploaded to S3, the metadata is saved to trhe DB, and I get a nice
status page updated by periodic calls via ask_status), but when I
tried to deploy to our staging server and stop/start BackgrounDRb via
Capistrano, things blew up - well, not exactly,
2006 Apr 03
2
Capistrano - how do I set up the database config?
My app is set up without database.yml in version control. I created a
shared_path/config dir, and put database.yml in it. After I update
the code, I want to link the app''s database.yml file to the shared
config. So I added this task
desc ''Copy the database config''
task :after_update_code, :roles => :app do
run "ln -s #{shared_path}/config/database.yml
2006 Jul 22
16
capistrano deploy failing on /public/system "No such file or directory"
trying like mad to get this to work.
cap setup works fine, sets up the dir structure on dreamhost (tho setup
doesnt create the "current" symlink).
on deploy, i get:
* executing "rm -rf
/home/USERNAME/dwightnight.org/releases/20060722060159/log
/home/USERNAME/dwightnight.org/releases/20060722060159/public/system &&\n
ln -nfs /home/USERNAME/dwightnight.org/shared/log
2002 Aug 25
1
[noob] ReadFontDir Can't Open Directory..
Hi all,
I browsed the archives for this, but haven't found anything new enough to
be useful. When I run Wine, I get:
err:font:ReadFontDir Can't open directory "/usr/local/wine/Windows/Fonts"
wine: Unhandled exception, starting debugger...
If I make a dir for /usr/local/wine/Windows/Fonts, I get just the
wine" Unhandled exception, starting debugger... msg repeating until
2006 Jun 01
0
Capistrano: update_code -
C:\....Rails>rake deploy --trace
(in C:\....Rails)
** Invoke deploy (first_time)
** Invoke remote:deploy (first_time)
** Execute remote:deploy
loading configuration
c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca
pistrano/recipes/standard.rb
loading configuration ./config/deploy.rb
* executing task deploy
** transaction: start
* executing task update_code
* querying
2010 Sep 09
4
Capistrano Deploy with SVN over SSH - Network connection closed unexpectedly
Hello all,
i changed today from my local repository to a repository on a server. The repository now lies on the same server where my application is going to be deployed. Everything went fine
create my repository on the server and checked out my working copy. After some changes on the code i wanted to deploy my application but it failed.
The error is:
"svn: Network connection closed
2006 Jun 01
2
Capistrano: update_code - "No such file or directory" -
Hi folks,
I''ve been staring at this one for far too long. I''m using Windows SVN
client + Capistrano to deploy rails app to my hosted server. I can''t
seem to get a single successful deployment. I keep getting this "No
such file or directory - svn log -q -rhead
http://myhost.com/svn/spclient/trunk " . I run this svn command from
the cmd prompt and it