Displaying 20 results from an estimated 2000 matches similar to: "capistrano and Dreamhost issue"
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 Dec 14
3
reaper spawner
Hi,
Anyone know where i can find out more info on Reaper/Spawner.
Currently, every time i add a new account on my production machine, i
have to restart the whole server. After about 150 accounts, this puts a
real strain on the server (it takes 3 full minutes before i can access
any site on the server).
I think reaper/spawner is my answer, but i am havving trouble figuring
out how to use it.
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 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 Aug 12
3
Capistrano deployment pathname error
When I try to do a deployment with Capistrano I get the error "No such
file to load -- pathname" when Cap tries to execute reaper. Any ideas
what''s causing this or how I can troubleshoot it? (Output follows.)
Thanks.
Evan
-----BEGIN OUTPUT-----
[evans-powerbook:~/Desktop/asktheguys] evan% clear ; rake remote:deploy
(in /Users/evan/Desktop/asktheguys)
loading
2006 Aug 04
8
Capistrano /usr/bin/env: ruby: no such file or directory
Hi,
I''m deploying to a prod linux server via Capistrano, but the last step,
running the reaper, won''t complete.
Ruby is stored in /usr/local/bin on the server, and I''m deploying from
winxp.
$ ssh mcalogin@lx07
Password:
mcalogin@LX07:~> env | grep "^PATH"
PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/b
in:/opt/
2010 Jan 11
3
Capistrano deploy without irs_process_scripts
Hi,
I am reading docs to understand how to deploy with Capistrano my ROR
webapps.
In guides.rubyonrails.org/2_3_release_notes.html is written:
"If you’re one of the (fairly rare) Rails developers who deploys in a
fashion that depends on the inspector, reaper, and spawner scripts,
you’ll need to know that those scripts are no longer included in core
Rails. If you need them, you’ll be able to
2006 Mar 23
4
ANN: capistrano-runit-tasks 0.2.0
I''d like to announce the second release of capistrano-runit-tasks,
available from http://rubyforge.org/projects/cappy-runit/
It now supports:
* File based templates
* sv as the service control command in addition to runsvctrl
* A much simpler interface for creating additional services.
More work still needs to be done though!
== TODO
* Allow add_service to create more than one
2006 Jan 03
7
switchtower, windows and dispatch.fcgi
I just setup switchtower and I am very happy with it. Just one thing is
giving me some headache: My development machine is windows and my deployment
host is Unix. Each time I deploy I need to make dispatch.fcgi executable. I
wrote my own task for that. But does there exist any smarter way to get this
automated ? I think Subversion offers some possiblity to declare a file as
executable, but no idea
2006 Mar 18
2
ANN: capistrano-runit-tasks 0.1.0
I''d like to announce the first release of capistrano-runit-tasks.
This came about as I wanted to use runit rather than spinner/spawner/
reaper on my memory limited VPS but should be useable for any setup.
From the README:
This library extends Capistrano to allow processes to be supervised
using the
runit package. It replaces some of the standard tasks with runit
versions and
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 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 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
2005 Dec 17
6
Lighttpd Restart Script
After quite a bit of searching and coding, I customized an init.d/bash
script which allows me to manage multiple instances of Lighttpd server
running Rails.
It targets the specific PID address instead of the default binary location
when starting and stopping /usr/local/bin/lighttpd process.
This provides the ability in my case to have multiple lighttpd.conf files
running many different instances
2006 Jul 23
1
reaper
Hi there,
I have been running the reaper on dreamhost and I''m not sure it is actually
restarting the processes
will the reaper create new processes? because all the PID''s are the same
before and after I run the reaper
Restarting [1344] ruby dispatch.fcgi
Restarting [10172] ruby dispatch.fcgi
Restarting [21592] ruby dispatch.fcgi
Restarting [4931] ruby dispatch.fcgi
Restarting
2006 Apr 06
3
Deploying with Capistrano via cron
I''m attempting to auto deploy a rails application to a development
server periodically during ongoing development. I''ve setup ssh keys
to allow the proper user auto login permissions, but have ran into 2
issues.
1. When the script is run from a cron job as the same user as I
currently manually deploy from I receive an error when reaper tries to
execute - "can''t
2006 Apr 17
9
Reload an application without restarting the Server?
Hi, I would like to set up a "shared hosting"-like rails environment on
a linux (+Apache1.3 +FastCGI +MySQL) machine. As we all know, rails
provides support for different environments.
Now I would like to enable my "users" to switch individual applications
between development and production mode. In theory, all they have to do
is to add
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 Mar 24
1
Caching and Capistrano
I had an incredibly difficult time getting this to work correctly and I
have a couple of comments/questions, after the fact.
When using caching and Capistrano together, how have you set the
permissions on your RAILS_ROOT/public folder...or have you sent your
cache data to your document root? I''ve got it working now, but of
course, it will break the next time I deploy.
I was
2007 Mar 29
1
How to restart server programmatically?
I need to be able to restart my server based on a specific database change.
I''ve been trying a call to system("script/process/reaper -a graceful -d
dispatch.fcgi") but that raises a transaction error which rolls back the
save. I wasn''t aware that after_save would rollback. That''s potentially
useful but pretty much not right now. Here''s my code:
def