Why don't you add this to your deploy.rb file instead of using spinner
script?
set :mongrel_conf,
/var/www/#{application}/current/config/mongrel_cluster.yml
namespace :deploy do
namespace :mongrel do
[ :stop, :start, :restart ].each do |t|
desc #{t.to_s.capitalize} the mongrel
Make sure script/spin has the correct permissions on it (at least
readable and executable) for the user that is being used to execute
it.
- Jamis
On 9/7/07, Jim Neath [EMAIL PROTECTED] wrote:
Hi guys, I'm trying to deploy my application but when I run cap
deploy:cold I get the following
Jamis Buck wrote:
Make sure script/spin has the correct permissions on it (at least
readable and executable) for the user that is being used to execute
it.
- Jamis
Hi Jamis,
How could I do this with capistrano?
--
Posted via http://www.ruby-forum.com/.
Many people are doing this with a task that gets called after the code
is pushed out, something like this:
after deploy:update_code, :fix_script_perms
task :fix_script_perms do
run chmod 755 #{latest_release}/script/spin
end
Alternatively, if you're using subversion, you can set the
I'm sure you could use some sed or awk magic to do it, but neither of
those tools are my forte, so I'll defer to someone with more
experience to give you a more detailed answer.
- Jamis
On 9/7/07, Jim Neath [EMAIL PROTECTED] wrote:
Jamis Buck wrote:
Many people are doing this with a task
I'm having problems with the chmod command. I get the following error:
---ERROR--
D:\fapbox.comcap deploy
[DEPRECATION] Capistrano.configuration is deprecated. Use
Capistrano::Configurat
ion.instance instead
* executing `deploy'
* executing `deploy:update'
** transaction: