For some reason Capistrano is trying to issue this command on the
remote
machine, with the backslashes before the version quote. I understand
this
should be the output in the Capistrano log, but I can tell it issues
it
with the quotes because 1) it fails and 2) I end up with a =1.4.0
file in
home directory on my server.
{{{
gem specification --version \">=1.4.0\" SyslogLogger 2>&1 | awk
'BEGIN { s
= 0
}; /^name:/ { s = 1; exit }; END { if(s == 0) exit 1 }'
}}}
The attached patch uses the %() quote instead of normal "". This does
fix
the issue for me. However this is very bazaar, because the current
code
should very well work. I haven't heard of anyone else with this
problem,
which is also weird. My local machine is a mac and I've tread this
with
different servers same problem. It doesn't matter what the server is
anyway because the command is issued from the local machine.
Maybe the problem will go away when I get my new MacBook Pro on
Tuesday :)
{{{
$ uname -a
Darwin joshs-powerbook.local 8.9.0 Darwin Kernel Version 8.9.0: Thu
Feb 22
20:54
:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power Macintosh
powerpc
$ ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [powerpc-darwin8.9.0]
}}}
--
Ticket URL: <http://dev.rubyonrails.org/ticket/8664>
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---