Displaying 20 results from an estimated 6000 matches similar to: "Caching and Capistrano"
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 Apr 18
3
Capistrano from windows to linux.
There seems to be a bug when deploying a rails application developed
in windows to a linux box. The rake deploy command attempts to run the
command "/install/path/current/script/process/reaper" but the files do
not have the execute bit set.
What can I do to make sure either the execute bit is run or prepend
the command with sh or ruby?
Thanks.
2006 May 18
3
capistrano and Dreamhost issue
Hi,
i''m striving to capistranize a foo app on DH.
Everything is hosted on DH to simplify a bit :
- svn repository (http access)
- the application
- the DB
I used the recipe of Jamis Buck modified by Geoffrey Grosenbach which
you can find here : http://nubyonrails.com/pages/shovel_dreamhost
I did the least modifications possible. As recommended.
1) When I launch the
2006 Jul 06
6
Capistrano deployment questions == Best practice type ones
Hi everyone,
I''ve been sold on the whole idea of using Capistrano for deployment
of my sites and have successfully deployed three apps in three
different environments all with success.
As I''m trying to configure my sites I''ve encountered a number of
issues/questions hence this post.
1. Database.yml
Twice I''ve been stumped by apps refusing to work on
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
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 Jul 27
5
Dreamhost working deploy.rb? Can anyone post/send me a copy?
Hi,
Just trying to get Capistrano working to Dreamhost. I''m hitting a
permissions issue on the reaper file at the moment.
Has anyone a copy of the capistrano DEPLOY.RB file they could post or
send me a copy of please?
Thanks
Greg
--
Posted via http://www.ruby-forum.com/.
2006 Apr 30
4
Subversion and Capistrano
I have a project under Subversion, deployed by Capistrano.
When it is deployed, obviously I need to deploy "real" copies of
database.yml, deploy.rb, and maybe a couple of other files.
But if I offer it for public checkout, I obviously do not want these
files as part of the checked out code.
What''s the best way to handle this?
--Al Evans
--
Posted via
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 Mar 16
4
Capistrano :update_code problem
Hi all,
I want to love capistrano and I''m so close.
My error is occuring while running the update_code task... (apologies
for the shell spew)
*************************************************************************
* executing "rm -rf
/home/henster29/sites/glitter/releases/20060316143447/log
/home/henster29/sites/glitter/releases/20060316143447/public/system
&&\n ln
2006 Mar 21
3
Switch...err Capistrano hangs
I''m having a little bit of difficulty deploying my app. I''ve run the
setup and it works with Cap, but when I try to deploy it hangs at
"querying latest revision". I can access my svn locally (I''m on a
windows xp sp2 machine) using SubClipse plugin, but not through the
command line though (yes, svn client is installed).
I''m pretty sure that
2006 Oct 13
0
Deployment problem with Capistrano
I have everything set up that I need - SVN, webserver (Apache2.2),
mongrels, etc. Capistrano is deploying the site well enough, to a
point.
I need to create sym-links to my file-column created content
directories (in
shared) and copy the database.yml file (also from shared) into the
current folder.
I''ve written the following task:
desc "Copy the database config file over and set
2007 Jun 28
3
acts_as_ferret and capistrano
Hi,
I''d like to share the ferret indexes between deployments of a Rails app.
At the moment the index is stored in #{RAILS_ROOT}/index meaning that it
gets moved and must be rebuilt after every deploy. I guess the simplest
solution would be to put it under log/ which is already shared by
capistrano, any other ideas?
Also, script/ferret_stop doesn''t work when run on a fresh
2006 Jan 24
2
SwitchTower and multiple database.yml files - how do you deal with them?
Hi everyone,
What are other people doing with regards to database.yml being in
version control? My dilema:
I set up my rails app in svn using these instructions:
http://wiki.rubyonrails.com/rails/pages/HowtoUseRailsWithSubversion
The part to note is where I ignore database.yml, allowing different
developers to keep their own database.yml without clobbering other
developers'' files.
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
2007 Nov 27
1
capistrano hangs
Any idea why this command takes upwards of 15 minutes to complete?
run "cd #{release_path} && ORACLE_HOME=/home/oracle
RAILS_ENV=production rake db:migrate"
When running it against my local Postgres it completes in a few
seconds or so. Running it against my local Oracle XE takes only
slightly longer. But running it with capistrano over ssh is taking
years away from my life.
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
2006 Mar 30
11
Capistrano/SVN: Deploying different database.yml for live?
Greetings,
Today I''ve been working out how to begin using Capistrano and so far I''m
impressed. Even in my situation, learning Rails and deploying to a
single server, it''s incredibly helpful. I do have one small question
though:
In using Subversion I''ve used the "ignore" feature to ignore my local
database.yml file, because my local database and