Hi,
Background: I've setup an ssh key to avoid having to use passwords
with capistrano per
http://www.picky-ricky.com/2009/01/ssh-keys-with-capistrano.html.
A basic ssh to my server does work fine without asking for passwords.
I'm using "dreamhost.com" for hosting.
Issue - When I run 'cap deploy
On Monday 22 February 2010, Joshua J. Kugler elucidated thus:
> The problem is, :previous_release is defined thus:
>
> { releases.length > 1 ? File.join(releases_path, releases[-2]) : nil
> }
Actually, in 2.0.0, it's defined:
{ File.join(releases_path, releases[-2]) }
Which doesn't help much.
So, I'm trying to use #{previous_release} in a run block:
run "
.
.
if [[ -f #{previous_release}/$f && ! -h #{previous_release}/$f && !
#{previous_release}/$f -ef #{shared_path}/$f ]]; then
dir=$(dirname $f);
mkdir -p #{shared_path}/$dir;
cp -p #{pr
On Sunday 14 February 2010, Lee Hambley elucidated thus:
> Joshua,
>
> That is a strange behavior - I do typically find that the `run`
> formatting for long complex shell scripts sucks pretty hard, and it's
> often better- in this case to do something like this with rake, and
> defer to the rake ta
On Monday 22 February 2010, Marc elucidated thus:
> On the deploy:setup status, I'm trying to link everything on the
> remote repositories to the correct place in the servers (I'll have to
> setup rather big group of servers)
> My problem is that I want to link all wars on one repo dir to the
> des
You can write something like:
task :load_hosts do
# load your file here, itterate over it calling role() when you are done
with the list
end
Then $ cap load_hosts uname
That's far from ideal, but it should get you started - you can of course put
any arbitrary ruby code that you like into the
Hi all
I am running the following version of ruby and capistrano on my ubuntu
9.04
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
Capistrano v2.5.9
I am trying to exapand the following capfile
set :gateway, "gw.example.net"
role :myhosts, "host1.example.net", "host2.example.net",
"host3.e
Thanks guys. And yes this was the issue. I actually resolved the problem
about 10 minutes after posting this.
Thanks again.
On Mon, Feb 22, 2010 at 1:15 PM, Lee Hambley wrote:
> What Rafa said!, Good luck, Also there's no real, real testing against 1.9
> going on, but we've been assured that
What Rafa said!, Good luck, Also there's no real, real testing against 1.9
going on, but we've been assured that it works by some users; in this
instance though it's pretty clear that it's open ssl that is missing.
Please though, post back if & when you run into anymore problems.
-- Lee Hambley
I guess that you compiled ruby by hand and forgot include openssl support.
You need install libssl-dev , then go to
ruby_source_code_path/ext/openssl then write the next commands:
ruby extconf.rb
make
make install
Regards!
joe wrote:
Hello everyone,
I've been running through this articl
Hello everyone,
I've been running through this article --
http://www.forwardthinkingdesign.com/blog/manage-and-deploy-drupal-code-securely-git-gitosis-and-capistrano
-- and I'm currently stuck on the part that has to do with capistrano.
I'm trying to run cap deploy:setup and and receiving a list
Marc wrote:
On the deploy:setup status, I'm trying to link everything on the
remote repositories to the correct place in the servers (I'll have to
setup rather big group of servers)
My problem is that I want to link all wars on one repo dir to the
destination, and I'm doing this.
cmd = "ln
On the deploy:setup status, I'm trying to link everything on the
remote repositories to the correct place in the servers (I'll have to
setup rather big group of servers)
My problem is that I want to link all wars on one repo dir to the
destination, and I'm doing this.
cmd = "ln -sf #{deploy_
13 matches
Mail list logo