[Capistrano] Re: Deploying shared dirs with externals

2009-04-28 Thread Lee Hambley
Skt, Please expand a little on the second idea, you want to have tasks that you share between applications? - Lee 2009/4/27 skt stibre...@gmail.com Lee - I have opened a ticket (#80) per your suggestion for the first issue. I want to ask the community about the second question I raised.

[Capistrano] cap deploy doesn't change my site

2009-04-28 Thread zelop...@gmail.com
Hello I just deployed my first rails application. I noticed some spelling errors and something the needed to be changed. I've fixed the errors on my local machine but when I cap deploy there is no change on the live site. I'm I not doing this right or is there a error somewhere? I am using git,

[Capistrano] Re: cap deploy doesn't change my site

2009-04-28 Thread Rafael G.
zelop...@gmail.com wrote: Hello I just deployed my first rails application. I noticed some spelling errors and something the needed to be changed. I've fixed the errors on my local machine but when I cap deploy there is no change on the live site. I'm I not doing this right or is there a

[Capistrano] Re: cap deploy doesn't change my site

2009-04-28 Thread Lee Hambley
Good point Rafael! 2009/4/28 Rafael G. r...@aspgems.com zelop...@gmail.com wrote: Hello I just deployed my first rails application. I noticed some spelling errors and something the needed to be changed. I've fixed the errors on my local machine but when I cap deploy there is no change

[Capistrano] Re: cap deploy doesn't change my site

2009-04-28 Thread Mike Bailey
You're asking the same questions on multiple lists and then abandoning the thread. http://groups.google.com/group/deprec-users/browse_thread/thread/2da0fbb694bbb709 http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/4ee5166137ceb05b/e1e1a620b573ddb7#e1e1a620b573ddb7 Perhaps do

[Capistrano] Re: cap deploy doesn't change my site

2009-04-28 Thread Lee Hambley
Well Spotted Mike. I'll delete this thread unless he comes back and makes a mends. - Lee 2009/4/28 Mike Bailey m...@bailey.net.au You're asking the same questions on multiple lists and then abandoning the thread.

[Capistrano] using scp instead of sftp as a transport when deploying via copy

2009-04-28 Thread Ryan Hanks
I don't have control of the server I'm deploying to, and for some reason SFTP doesn't seem to work. When I try sftp from the command line, I see this: $ sftp x...@ Connecting to ... x...@'s password: subsystem request failed on channel 0 Connection closed I found this out when I

[Capistrano] Re: cap deploy doesn't change my site

2009-04-28 Thread zelop...@gmail.com
Sorry about multiple post. To specify my question is: When I make changes to my application do I git push or cap deploy? I've tried both and when I was finished I cap deploy:restart and my live website hasn't changed. So I'm asking either what I did wrong or what I forgot to do? I have

[Capistrano] Re: cap deploy doesn't change my site

2009-04-28 Thread Lee Hambley
Zelo, You go back to the drawing board, and learn how to use Git, for a start and what push, pull etc actually mean, and what they do Then, you go and read about what cap deploy does, and how that works for you, in relation to your git commands. This list is not a Web Development 101

[Capistrano] Re: cap deploy doesn't change my site

2009-04-28 Thread Aaron Williams
This is not about web development, this is about capistrano commands not working you must have got that from another post. Is there a way I can make cap deploy re-write my existing site or is it just not working? --~--~-~--~~~---~--~~ To unsubscribe from this

[Capistrano] Re: cap deploy doesn't change my site

2009-04-28 Thread Aaron Williams
Ok. cap deploy worked. I don't know why it didn't before, I haven't changed a thing. Looks like there was a possible error in the capistrano but maybe someone didn't know what was causing it. And oh yea git is amazing --~--~-~--~~~---~--~~ To unsubscribe from this

[Capistrano] Re: cap deploy doesn't change my site

2009-04-28 Thread Lee Hambley
Aaron, Happy to help. - Lee 2009/4/28 Aaron Williams zelop...@gmail.com Ok. cap deploy worked. I don't know why it didn't before, I haven't changed a thing. Looks like there was a possible error in the capistrano but maybe someone didn't know what was causing it. And oh yea git is amazing

[Capistrano] running multiple commands in sudo mode

2009-04-28 Thread Mr_Tibs
Hi, I'm trying to do a simple thing with Capistrano: run multiple commands in one shell session as a different user. For example: cd # {latest_release}; bin/merb #{merb_options}. This works with run (e.g. run cd #{latest_release}; bin/merb # {merb_options}), but it doesn't work with sudo and

[Capistrano] Re: running multiple commands in sudo mode

2009-04-28 Thread Lee Hambley
Tiberiu, You can't to `sudo cd /somewhere` can you post the Capistrano tasks code via www.pastie.org for us to help diagnose? - Lee 2009/4/29 Mr_Tibs tiberiu.mo...@gmail.com Hi, I'm trying to do a simple thing with Capistrano: run multiple commands in one shell session as a different user.

[Capistrano] Re: running multiple commands in sudo mode

2009-04-28 Thread Jamis Buck
The preferred way of doing sudo is by embedding #{sudo} in your run command. invoke_command() and sudo() are both otherwise not recommended. So, to do sudo with multiple commands: run cd #{latest_release}; #{sudo} bin/merb #{merb_options} - Jamis On 4/28/09 5:13 PM, Lee Hambley wrote:

[Capistrano] Re: running multiple commands in sudo mode

2009-04-28 Thread Mr_Tibs
Thanks Jamis. I'm only using sudo because I want that command to be run by a different user. How would I specify the user's name in the example that you gave? Tiberiu On Apr 28, 5:33 pm, Jamis Buck jamis.b...@gmail.com wrote: The preferred way of doing sudo is by embedding #{sudo} in your run

[Capistrano] Re: running multiple commands in sudo mode

2009-04-28 Thread Jamis Buck
As before, with the :as option: run cd #{latest_release}; #{sudo :as = bob} bin/merb #{merb_options} - Jamis On 4/28/09 6:52 PM, Mr_Tibs wrote: Thanks Jamis. I'm only using sudo because I want that command to be run by a different user. How would I specify the user's name in the example

[Capistrano] Re: cap deploy doesn't change my site

2009-04-28 Thread Donovan Bray
Did you remember to do a git push after commit? On Apr 27, 2009, at 10:07 PM, zelop...@gmail.com zelop...@gmail.com wrote: Hello I just deployed my first rails application. I noticed some spelling errors and something the needed to be changed. I've fixed the errors on my local machine but