from the cap ssh command to get a HUP signal when cap
disconnects, This cause your processes to be terminated when cap
disconnects. IF you append nohup to the command it will ignore the HUP
that gets sent and will therefor not fail when cap disconnects.
Cheers-
Ezra Zygmuntowicz
e
/01/22/shellscriptbuilder-for-capistrano
Cheers-
Ezra Zygmuntowicz
e...@engineyard.com
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to
capistrano-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com
On Dec 10, 2008, at 9:41 AM, ara howard wrote:
maybe people are already doing this, but it seems that doing a git
deploy could simply *always* deploy from the deployment user's current
directory. has this been written already?
set :deploy_via, :copy
Cheers-
Ezra
On Dec 10, 2008, at 9:49 AM, ara.t.howard wrote:
On Dec 10, 2008, at 10:47 AM, Ezra Zygmuntowicz wrote:
set :deploy_via, :copy
and that's zero network dep?
Well it makes a tarball of your local app dir and then uses net-sftp
to upload it to your server instead of ever
PROTECTED] wrote:
On Dec 10, 2008, at 10:53 AM, Ezra Zygmuntowicz wrote:
Well it makes a tarball of your local app dir and then uses
net-sftp
to upload it to your server instead of ever bothering with version
control(i think?). You may have to experiment.
that is definitely
# permanently accept cert
$ cd ~/railsapp
$ cap deploy
Cheers-
- Ezra Zygmuntowicz
-- Founder Software Architect
-- [EMAIL PROTECTED]
-- EngineYard.com
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit
On May 27, 2008, at 11:45 PM, Liam Morley wrote:
Thanks very much Ezra for the reply. That /almost/ worked. The
problem is, I'm on a Windows box :( and that makes everything more
difficult. I do have a cygwin copy of svn and cygwin is in my path,
so after executing 'svn co' on the cmd
On May 27, 2008, at 11:03 PM, Rich Morin wrote:
I'm having trouble getting a solo Capistrano app (as discussed
in Deploying Rails Applications) to work. I'm hoping someone
on this list can give me a hand.
My impression is that the SSH login is failing, because of some
authorization
to it
there.
Check that file on your deployed to server(s). Those are the
ones making
the connection to your subversion server...
-philip
ssh_options[:paranoid] = false
Cheers-
- Ezra Zygmuntowicz
-- Founder Software Architect
-- [EMAIL PROTECTED]
-- EngineYard.com
files and
report back please?
Thanks
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- [EMAIL PROTECTED]
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED
?
Onward!
- Jamis
That's super cool Jamis, congrats!
Cheers-
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- [EMAIL PROTECTED]
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)
--~--~-~--~~~---~--~~
To unsubscribe from this group, send
, ruby #{temp_name}, options, block)
ensure
delete temp_name
end
end
end
Capistrano.plugin :script, Ruby
task :foo do
script.ruby 10.times { puts `uname -a` }
end
Cheers-
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- [EMAIL PROTECTED]
-- Engine Yard, Serious Rails
:- (main) - ./test/cli/../../lib/
capistrano/
gateway.rb:53
Does it mean I am missing something or??
Thanks
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- [EMAIL PROTECTED]
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273
PROTECTED]
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- [EMAIL PROTECTED]
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group
if anything went wrong after the
shell:
* executing sh /home/myglad/champion/current/script/
start_juggernaut.sh
And no process or nohup.out ever show up.
--
Phlip
http://www.greencheese.us/ZeekLand -- NOT a blog!!!
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- [EMAIL
-~--~~~~--~~--~--~---
shell-script-builder-1.0.1.gem
Description: Binary data
Cheers-
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- [EMAIL PROTECTED]
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)
if [ ! -a foo ]
then
mkdir -p some/foo
fi
fi
if [ ! -a foo/bario ]
then
touch foo/bario
fi
if [ -w some/file.txt ]
then
echo #{time} some/file.txt
fi
mkdir -p foo/bar
rm -rf foo/bar
Cheers-
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- [EMAIL
standard. I might be (and often am!) doing something
with
capistrano that doesn't involve Rails deployment at all.
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- [EMAIL PROTECTED]
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273
twice?
- Mike
Mike-
You can require the same file multiple times in one ruby program but
it will only ever be loaded once. If you want it to load twice use
load instead of require.
so
load 'deploy.rb'
instead of
require 'depoy'
the .rb is necessary with load.
Cheers-
-- Ezra
Brian Quinn
self-promotion: www.seebq.com
highgroove studios: www.highgroove.com
slingshot hosting: www.slingshothosting.com
678.389.9462
Ruby on Rails Bootcamp at the Big Nerd Ranch
Intensive Ruby on Rails Training:
http://www.bignerdranch.com/classes/ruby.shtml
On 12/21/06, Ezra Zygmuntowicz
make this
bug happen. Patch submitted to the trac:
http://dev.rubyonrails.org/ticket/6913
I would say this warrants another release. I apologize for not
finding this before you released 1.3
Cheers-
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- [EMAIL PROTECTED]
-- Engine Yard
with and without ssh keys and have had no
issues. So I would like to see a small example of the recipe you have
that is failing so I can fix it.
Cheers-
-- Ezra Zygmuntowicz-- Lead Rails Evangelist
-- [EMAIL PROTECTED]
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273
is
out of sync now.
http://dev.rubyonrails.org/ticket/6547
Thanks!
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- [EMAIL PROTECTED]
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email
23 matches
Mail list logo