[Capistrano] Re: Darcs remote repos with copy strategy - Couldn't find patch matching hash

2009-04-20 Thread Lee Hambley
patch. - Lee Hambley 2009/4/20 Alex Young youngcert...@googlemail.com Has anyone else seen this? I'm trying to deploy from a remote darcs repository using the copy strategy, but I get this error message: darcs failed: Not a repository: repository uri (Failed to create temporary file darcs

[Capistrano] Re: How to get a file using a different user?

2009-04-21 Thread Lee Hambley
Is there anything in the /var/log/messages (or equivalent) on your server? - Lee 2009/4/21 PhatBaja csgyuri...@gmail.com I tried that too. It doesn't work. This is what I get: ** scp download /home/cso/windowsxp-sp3-ie7-ff3-1.vdi - /home/admin/ *** download via scp failed on

[Capistrano] Re: How to get a file using a different user?

2009-04-22 Thread Lee Hambley
a private key, which you must specify in the options, or have in a standard place, e.g., your local user's .ssh directory. On Apr 21, 2009, at 2:17 PM, Lee Hambley lee.hamb...@gmail.com wrote: Is there anything in the /var/log/messages (or equivalent) on your server? - Lee 2009/4/21

[Capistrano] Re: Server tries to pull from old git repo on deployment

2009-04-23 Thread Lee Hambley
Chris, The cloned repository on your server is probably still set to the old path, which deploy strategy (:deploy_via) are you using? Also, for the sake of the list, please gist or pastie large blocks of output! - Lee 2009/4/23 chris olsen.ch...@gmail.com Oops, a copy and past issue on the

[Capistrano] Re: Server tries to pull from old git repo on deployment

2009-04-23 Thread Lee Hambley
Chris, I'd honestly just try erasing the cache on the server, and taking the hit of 1 slow(er) deploy and see how you fair, the config file would suggest that it isn't specifically attached to one repository but you could also try `git remote show` (I think?) - Lee 2009/4/23 chris

[Capistrano] Re: Server tries to pull from old git repo on deployment

2009-04-24 Thread Lee Hambley
] rolling back This looks like it may be a github issue, but I am not totally sure. Any suggestions? On Apr 23, 11:52 am, chris olsen.ch...@gmail.com wrote: Thanks for the help. I will give this a go when I get home this evening. On Apr 23, 8:28 am, Lee Hambley lee.hamb...@gmail.com wrote

[Capistrano] Re: Server tries to pull from old git repo on deployment

2009-04-24 Thread Lee Hambley
Your server should have a private/public keypair that is shared with Github, though ? 2009/4/24 chris olsen.ch...@gmail.com It is. Unsurprisingly, I get the exact same error if I try to manually clone the repo on my server. On Apr 24, 3:04 am, Lee Hambley lee.hamb...@gmail.com wrote

[Capistrano] Re: Capistrano problem after upgrade from 2.5.3 - 2.5.5

2009-04-24 Thread Lee Hambley
Greg, Follow the following steps for me remove *any* reference you can find to capistrano, some of the following may help $ gem list --local | grep capistrano $ gem contents capistrano $ gem --version $ cap --version $ which cap $ which capify # gem list --local | grep capistrano # gem

[Capistrano] Re: Capistrano problem after upgrade from 2.5.3 - 2.5.5

2009-04-25 Thread Lee Hambley
*** [deploy:symlink] rolling back I'm confused about why this is happening now and how to resolve this issue. Thanks again for everyone's help On Fri, Apr 24, 2009 at 5:06 PM, Lee Hambley lee.hamb...@gmail.comwrote: Greg, Follow the following steps for me remove *any* reference you can

[Capistrano] Re: Capistrano problem after upgrade from 2.5.3 - 2.5.5

2009-04-25 Thread Lee Hambley
file is here: http://pastie.org/458177 Thanks again for the help Lee. On Sat, Apr 25, 2009 at 3:08 PM, Lee Hambley lee.hamb...@gmail.comwrote: Can you paste your deploy file ? - Lee 2009/4/25 Greg Pederson greg.peder...@gmail.com Thanks for the info and help Lee. Since I had installed

[Capistrano] Re: Capistrano problem after upgrade from 2.5.3 - 2.5.5

2009-04-25 Thread Lee Hambley
, 2009 at 3:27 PM, Lee Hambley lee.hamb...@gmail.comwrote: Greg, At first glance, that does look strange are you using any third party extensions or anything, also can you paste a little of the command output, or a whole (sanitize it, if you prefer) output from an attempted deploy? - Lee

[Capistrano] Re: Can Capistrano do this? If yes how?

2009-04-26 Thread Lee Hambley
Abhi, This is a prime candidate for a rake (http://rake.rubyforge.org/) task... You may want to consider whether you want this process to run on your server(s), or on your developer's workstations, that may help determine what technology you need to use to achieve your goals. - Lee 2009/4/26

[Capistrano] Re: Can Capistrano do this? If yes how?

2009-04-27 Thread Lee Hambley
Abhi, You'll need rake to do what you need to do, but there is nothing to stop you using either Net::SSH or Capistrano to instruct your server to run this task from your wosktation. As a bonus point, for you - Rake and Capistrano have very similar interfaces, and both share an incredibly similar

[Capistrano] Re: I seem to have to delete the cached_copy folder every time I want to deploy

2009-04-27 Thread Lee Hambley
Chris, What error are you getting? - Lee 2009/4/27 chris olsen.ch...@gmail.com I had some earlier issues that can be found at http://groups.google.com/group/capistrano/t/ceed1b8db785a693 After re-adding my ssh key I was able to deploy. The next time I tried to deploy I got an error of :

[Capistrano] Re: Roll back of a migration

2009-04-27 Thread Lee Hambley
Jacobo, You may need to implement something like the following pesudocode: - http://pastie.org/459506 I don't know how well that might work out, or if there is anything internally that would help, I note the following rake tasks in my Rails 2.2.2 application: rake db:migrate rake

[Capistrano] Re: Deploying shared dirs with externals

2009-04-27 Thread Lee Hambley
Skt, File a bug on the capistrano bug tracker, and I'll pick this up there http://capistrano.lighthouseapp.com/ - Lee 2009/4/27 skt stibre...@gmail.com Folks, I searched around this group and googled around but didn't find a clear answer to this question. Hopefully this group can point me

[Capistrano] Re: Running a rake task on remote server

2009-04-27 Thread Lee Hambley
Jona, You can have a task like this: task :run_my_rake_task, :roles = :app do run(cd #{current_path}; rake my:task) end Hope this helps! - Lee 2009/4/27 Hunt Jon jona.hunt...@gmail.com I'm developing Rails apps. Sometimes I run rake tasks in the production server. Currently I ssh

[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] 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 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] 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 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] 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: How do I get deploy:update to use sudo?

2009-05-04 Thread Lee Hambley
Rafa, You should submit that as a patch, although I would tend to suggest that you should also consider fixing permissions on the sever Chad. - Lee 2009/5/3 Rafael G. r...@aspgems.com Hi Chad, You can override the method deploy! (Capistrano::Deploy::Strategy) in your deploy.rb to

[Capistrano] Re: Last-modified header based on last deployed time?

2009-05-06 Thread Lee Hambley
Hi, Try reading the timestamp on the REVISION file in the current/ directory symlink? - Lee 2009/5/6 mflor...@gmail.com mflor...@gmail.com Hi, I'm trying to set all my Last-Modified headers (set in my application controller) to the last deployed time. Is there an established mechanism

[Capistrano] Re: Capistrano 2.5.5 - I need Help, please!

2009-05-17 Thread Lee Hambley
Arthur, Can you post some of the output upto when it throws an error? - Thanks, Lee 2009/5/17 Arthur Martins br.at...@gmail.com I need help, my deployment using the 2.5.5 version of Capistrano is giving the error below: /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/

[Capistrano] Re: backticks being ignored

2009-05-19 Thread Lee Hambley
Try, task :foo, :hosts = my.host.com do run echo date is `cat /bin/date` so there end 2009/5/19 Scott Johnson sc...@scottjohnson.org I have a run command that uses shell backticks, yet the command in the backticks never runs and I get an empty string instead of the output of the command.

[Capistrano] Re: patches for Perforce deploy:pending

2009-05-19 Thread Lee Hambley
Scott, Fork capistrano-capistrano and send me a pull request, you can find me on github as `leehambley`. - Lee 2009/5/19 Scott Johnson sc...@scottjohnson.org I have a couple of patches to perforce.rb to fix the 'cap deploy:pending' task, which is pretty horribly broken in Capistrano 2.5.5

[Capistrano] Re: Permission error on cap deploy

2009-05-19 Thread Lee Hambley
Jonas, Either your server, or your workstation isn't allowed to access the SCM server. Please post your config file (deploy.rb) to pastie, or gist, and I'll advise you what to try once I have that. - Lee 2009/5/19 jo...@ibiz.se jo...@ibiz.se I have rather recently given up web development

[Capistrano] Re: backticks being ignored

2009-05-19 Thread Lee Hambley
created. On 19 May, 01:26, Lee Hambley lee.hamb...@gmail.com wrote: Try, task :foo, :hosts = my.host.com do run echo date is `cat /bin/date` so there end 2009/5/19 Scott Johnson sc...@scottjohnson.org I have a run command that uses shell backticks, yet the command

[Capistrano] Re: backticks being ignored

2009-05-19 Thread Lee Hambley
Scott, Jamis hit the nail on the head with the escaping, you may still need to `echo` in your backticks though, I doubt it (I use `hostname`) in one of mine -- her'es something that works for me though: http://gist.github.com/114257 Also, you can try this out, and take capistrano out of the

[Capistrano] Re: Rimuhost example?

2009-05-19 Thread Lee Hambley
mksys, What is special or significant about Rimuhost, I'm not familiar with them? - Lee 2009/5/19 mksys m...@grandprix.com I have a server at Rimuhost that I would like to use Capistrano to deploy a rails app to. Does anyone have an example of a working deploy script that works with them?

[Capistrano] Re: backticks being ignored

2009-05-19 Thread Lee Hambley
Scott, Thanks - I'll pick those up. - Lee 2009/5/19 Scott Johnson sc...@scottjohnson.org It seems after testing that the solution I discovered last night (described in the first post, edit command.rb so it won't escape backticks) is a correct and robust solution. * The quoted command is

[Capistrano] Documentation Interest Poll

2009-05-20 Thread Lee Hambley
I spotted this via my standing search for capistrano with google. I'd love to see how many people want to see better documentation, and suggestions for where we could strengthen things. - http://rails.uservoice.com/pages/10012-rails/suggestions/98521-better-documentation-for-capistrano

[Capistrano] Re: copy_strategy, :export still pulling .sv

2009-05-20 Thread Lee Hambley
Russian, Perhaps they are there from an existing deploy/checkout that you are missing, you need to set something like: * set :copy_exclude, ['.svn']* More here http://wiki.capify.org/index.php/Understanding_Deployment_Strategies#Deploy_Strategy_:copy - Lee 2009/5/20 russianbandit

[Capistrano] Re: Database Password best practices

2009-05-21 Thread Lee Hambley
Or, You can condigure passwordless access (tricky?) from the local machine only GRANT select,delete,update, (anything else you need) ON `` TO `railsus...@localhost; FLUSH PRIVILEGES; (by excluding the IDENTIFIED BY 'passwd' it should be a passwordless account) I'm not condoning this practice,

[Capistrano] Re: Documentation Interest Poll

2009-05-21 Thread Lee Hambley
RDoc or a similar tool to automate this is 100% the way to go. On May 20, 11:41 am, Lee Hambley lee.hamb...@gmail.com wrote: I spotted this via my standing search for capistrano with google. I'd love to see how many people want to see better documentation, and suggestions for where we

[Capistrano] Re: Documentation Interest Poll

2009-05-21 Thread Lee Hambley
RDoc or a similar tool to automate this is 100% the way to go. On May 20, 11:41 am, Lee Hambley lee.hamb...@gmail.com wrote: I spotted this via my standing search for capistrano with google. I'd love to see how many people want to see better documentation, and suggestions for where we

[Capistrano] Re: Capistrano Patch: allow depend :remote, :gem to be called without a specific gem version

2009-05-22 Thread Lee Hambley
Hi Simone, I have your patch already, but I will pull it from github later this evening between my family time - feel free to mail me directly, either via `leehambley` on twitter/github, or my email. - Thanks, Lee *ps, anyone interested can follow @capistranorb on twitter if they want regular

[Capistrano] Re: copy_strategy, :export still pulling .sv

2009-05-23 Thread Lee Hambley
that capistrano was reusing the same directory to check out the updates. Is that it? So technically if I removed set :copy_cache, true then I would not get .svn stuff? On May 20, 2:55 pm, Lee Hambley lee.hamb...@gmail.com wrote: Russian, Perhaps they are there from an existing deploy

[Capistrano] Re: Deploy from Windows to Linux without SVN

2009-05-25 Thread Lee Hambley
You'll struggle, try the deploy_via :copy (see the capistrano wiki under deployment strategies) and you'll struggle more because we don't officially support windows. Please feel free to come back with more specific questions when you've given that a try. - Lee 2009/5/25 byqsri

[Capistrano] Re: Capistrano for Ruby daemons - now in DaemonKit

2009-05-26 Thread Lee Hambley
Hi Kenneth, A lot of what you appear to have done [2] has been done in the forthcoming 2.5.6 release that I'm testing at the moment, if you want to compare notes, I'll merge it into the next release provided it all works. Also regarding your daemon kit stuff, there is a 'new' (ok, I'm using

[Capistrano] Re: Deploy from Windows to Linux without SVN

2009-05-26 Thread Lee Hambley
from my PC that isn't visible from internet? On 25 Mag, 17:58, Lee Hambley lee.hamb...@gmail.com wrote: You'll struggle, try the deploy_via :copy (see the capistrano wiki under deployment strategies) and you'll struggle more because we don't officially support windows. Please feel free

[Capistrano] Re: Connection Failed for : application (SocketError: getaddrinfo: no address associated with hostname)

2009-05-26 Thread Lee Hambley
Please paste your file using pastie or gist, and post a link here. 2009/5/26 nisha nisha0...@gmail.com Hello, I'm getting the SocketError when i give cap deploy:setup. pls help. thnks, Nisha --~--~-~--~~~---~--~~ To unsubscribe from this group, send

[Capistrano] New Release 2.5.6 - Tagged on github.

2009-05-26 Thread Lee Hambley
to get involved a little, especially given that Rails isn't the de-facto ruby app now, and we are however a Ruby app community, not a rails one! - Lee Hambley --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to capistrano-unsubscr

[Capistrano] Re: New Release 2.5.6 - Tagged on github.

2009-05-27 Thread Lee Hambley
Completely agree withe the criticism, I should have been more thoghtful, with that in mind, I'll revert all the BC breaking changes on master, and merge in the release-2.5.6 branch that should contain just the bugfixes. There is another branch called release-2.6.0 which will contain the code that

[capistrano] Re: Multistage deploy does not seem to be reading stage-specific files

2009-05-28 Thread Lee Hambley
Nick, I don't think that still applies if using the Multistage extension? - Lee 2009/5/28 Nick Howard ndh.000...@gmail.com for $ cap staging deploy to work, you need to wrap your staging server setup in a capistrano task. You also need to require all the files with tasks in them in your

[capistrano] Re: Deploying to multiple hosts with one after deploy... callback

2009-06-01 Thread Lee Hambley
there is the :once = true addition you can make to the run call definition to make it only run on the first host that matches. Documented here: http://wiki.capify.org/index.php/Run#options 2009/6/1 Supagroova supagro...@gmail.com Hi all, I have a recipe deploying to multiple hosts, and have

[capistrano] Re: issue with capistrano-ext

2009-06-03 Thread Lee Hambley
Alexey, That is the default behavior, you may have to try setting a variable called :migrate_env, and see what difference that makes, you may have to to set it with a lambda, something like this: set(:migrate_env, { stage }) That should not err if stage isn't defined (something you may run into

[capistrano] Re: clearing the sudo password cache

2009-06-03 Thread Lee Hambley
Most likely, your server has cached the fact that your password has been entered, this mechanism will depend on your server host, but you may try restarting sshd on there, or looking into passowrd agents or similar, it's the same as when you authenticate on Unix, and it remembers for ~5 mins. -

[capistrano] Re: clearing the sudo password cache

2009-06-03 Thread Lee Hambley
Vander, Here's your answer, sortof - http://www.go2linux.org/disable-cache-password-sudo - Lee 2009/6/3 Jean-Philippe Moal skateinm...@skateinmars.net You can use 'sudo -k' to destroy the current sudo session, but I doubt there is one created if the password is wrong. Lee Hambley a écrit

[capistrano] Re: bug? net-ssh 2.0.11, MRI 1.8.7 on linux, ssh connections connect then eventually go into CLOSE_WAIT state

2009-06-03 Thread Lee Hambley
Elijah, This may be part of it? .. have a read of this, and see if it fits https://capistrano.lighthouseapp.com/projects/8716/tickets/79-capistrano-hangs-on-shell-command-for-many-computers-on-ruby-186-p368#ticket-79-24 - Lee 2009/6/3 Elijah Wright e...@brandorr.com Hi guys, I've got a user

[capistrano] Re: bug? net-ssh 2.0.11, MRI 1.8.7 on linux, ssh connections connect then eventually go into CLOSE_WAIT state

2009-06-03 Thread Lee Hambley
away. Sounds like a regression in 1.8.7, indeed. (Everybody else is either using 1.8.6pl111-pl287, or REE of some version...) --elijah On Wed, Jun 3, 2009 at 11:19 AM, Lee Hambley lee.hamb...@gmail.comwrote: Elijah, This may be part of it? .. have a read of this, and see if it fits https

[capistrano] Re: weird permissions(?) problem

2009-06-05 Thread Lee Hambley
Phil, Please paste the error output (via pastie or gist) and we'll take a look. - Lee 2009/6/5 phillee philip.a@gmail.com I'm running fcgi. If I do a svn co ssh'ed into the server and ln -s it to current, the app runs. With cap deploy:update, I can see that everything is checked out and

[capistrano] Re: capistrano recipe for whenever failing

2009-06-07 Thread Lee Hambley
Bharat, I misunderstand maybe, but Gems aren't loaded form $PATH, but from Ruby's load path, you can examine that in your script by inspecting $: - Lee 2009/6/7 Bharat bcrupa...@yahoo.com Hello Glenn, It worked! Here is what I did based on your suggestions (yes, I am using ruby enterprise

[capistrano] Re: Documentation Interest Poll

2009-06-08 Thread Lee Hambley
request me via http://github.com/leehambley/capistrano-handbook Thanks - great to have some feedback. - Lee 2009/6/6 Cynthia Kiser cynthia.ki...@gmail.com On Thu, May 21, 2009 at 2:32 AM, Lee Hambley lee.hamb...@gmail.comwrote: I agree however I'm relatively inexperienced with RDoc, and hear chat

[capistrano] Re: capistrano recipe for whenever failing

2009-06-08 Thread Lee Hambley
Bharat, Try the following: which gem which irb which ruby and then seeing if you are using vendor IRB/Ruby/Gems or the /opt ones? - Lee 2009/6/7 Bharat bcrupa...@yahoo.com Hello Lee, Based on your feedback, I ran the following on production server: ssrxgrp ~: irb irb(main):001:0 puts $:

[capistrano] Re: Strange error with mongrel recipes

2009-06-08 Thread Lee Hambley
Tom, You have been mislead, I can't see that ever having worked, this should though. change set :mongrel_config, #{current_path}/config/staging_mongrel_cluster.yml for set :mongrel_config, { #{current_path}/config/staging_mongrel_cluster.yml } The problem is that when defining the config you

[capistrano] Re: Strange error with mongrel recipes

2009-06-08 Thread Lee Hambley
uses capistrano v 1.4.2, where this kind of syntax is perfectly viable. All I had to do what type: cap _1.4.2_ my_task And the cap task auto senses that I want this task to run with capistrano 1.4.2 Well I've learnt something new. Tom On Jun 8, 1:34 pm, Lee Hambley lee.hamb...@gmail.com

[capistrano] Re: capistrano recipe for whenever failing

2009-06-08 Thread Lee Hambley
If you have symlinked REE into your actual PATH as `ruby`, then there is no benefit to having the path to it in your path, the only thing I can assume is that maybe Gems are being installed to a place that isn't in the load path, somehow.. Not really sure, but I am happy that you have resolved

[capistrano] Re: ssh-agent / forward_agent / multiple keys

2009-06-10 Thread Lee Hambley
Hi Ken, That does look like it might be a bug in someone's software, maybe our Git module, or maybe your Git binary, can you post your capfile, and maybe deploy.rb (anything with configuration settings in) - I may have a couple of ideas for you. - Lee 2009/6/10 Ken Mayer li...@bitwrangler.com

[capistrano] Re: Execute locally issue - unknown switch

2009-06-12 Thread Lee Hambley
Outdated version of Git on your machine? - Lee 2009/6/12 daBuzz greg.ba...@gmail.com When I run deploy using a local git repository the executing locally line starting 'git clone...' throws an error. It looks like the first command on the line seeing the third command's -b parameter and

[capistrano] Re: Execute locally issue - unknown switch

2009-06-12 Thread Lee Hambley
to have fixed this issue. Thanks for the suggestion. - Greg On Jun 12, 2:39 am, Lee Hambley lee.hamb...@gmail.com wrote: Outdated version of Git on your machine? - Lee 2009/6/12 daBuzz greg.ba...@gmail.com When I run deploy using a local git repository the executing locally

[capistrano] Re: Run Capistrano script as a Perforce After-Commit Trigger (problems)

2009-06-16 Thread Lee Hambley
Casey, you could always (hack, I know) but throw something in the perforce post-commit to return something that you can get on with. What language have you written the Perforce commit hook in? - Lee 2009/6/16 daphonz cdre...@gmail.com So I'm doing something that's a little backward from a

[capistrano] Re: does not appear to be a git repository

2009-06-17 Thread Lee Hambley
p_W, Your *server* is must be able to reach the repository too, unless you use deploy_via :copy [1]http://wiki.capify.org/index.php/Understanding_Deployment_Strategies . - Lee [1] http://wiki.capify.org/index.php/Understanding_Deployment_Strategies 2009/6/17 p_W

[capistrano] Ruby (Capsitrano) Returning Incorrect Exit Code

2009-06-17 Thread Lee Hambley
Hey, Someone (joe?) was hanging out in IRC last night asking about why capistrano always returned the failed exit code when it appeared to complete sucessfully I can think of two potential reasons: - Your server having written to STDERR caused Capistrano to consider that that's an

[capistrano] Re: BaseURI and Symlinks with Passenger

2009-06-18 Thread Lee Hambley
Cindy, This is really an Apache + Passenger question, your DocumentRoot and similar settings need to point at the place you have installed the `public` directory of your app into. - Lee 2009/6/18 cswebgrl ci...@cswebconcepts.com Hi, I'm new to the world of Capistrano and Passenger for

[capistrano] Re: Calling cap deploy:setup via python script fails to read deploy.rb

2009-06-18 Thread Lee Hambley
Hi, Please share some of your config with us, I would consider at first-guess that you need to undo the directory change of the Python script, but I'll know a little more when I see a chunk of code :) - Lee 2009/6/18 eclemm...@whitefence.com eclemm...@whitefence.com Howdy I have a python

[capistrano] Re: BaseURI and Symlinks with Passenger

2009-06-18 Thread Lee Hambley
No worries, people often struggle with working out what goes where, we're working on that, if it's a problem changing the apache config, you could always change the :deploy_to to point where Apache is expecting, and bring your own symlinks in custom tasks to run after/instead of the current one,

[capistrano] Re: capistrano - git errors?

2009-06-22 Thread Lee Hambley
What deploy strategy are you using Mike? If you can paste some of your config files, I should be able to resolve this pretty quickly. - Lee 2009/6/20 Mike C snib...@gmail.com So I had a huge problem in my application with thinking_sphinx but after Pat Allen took a look at all my errors, it

[capistrano] Re: Multistage deploy does not seem to be reading stage-specific files

2009-06-23 Thread Lee Hambley
If you have already set domain, do this: role :web,domain role :app, domain role :db, domain else, use yours, for the rest, do this: role :db , domain, :primary = truerole(:db , domain, :primary = true) role(:db , domain, {:primary = true}) (that is, right, righter and rightest syntax.

[capistrano] Re: Capistrano + cPanel = ?

2009-06-25 Thread Lee Hambley
pl, You can deploy there easily enough, you can use cap to start your mongrel instances remotely, and as for the file structure, you can set a variable called :current_path which you can use to rename the would-be current symlink to be inline with what cpanel is expecting. If you can jog my

[capistrano] Re: Problem with bzr checkout command not working _when executed from capistrano_

2009-06-26 Thread Lee Hambley
Aníbal, Are you sure you're checking in the right place, the :deploy_to path on the server.. don't doubt you are, but cover all the bases first, right! I've no experience with Bazaar, but I'll do my best! HTH \- Lee Hambley 2009/6/26 Aníbal Rojas anibalro...@gmail.com Hello, I have

[capistrano] Re: Problem with bzr checkout command not working _when executed from capistrano_

2009-06-26 Thread Lee Hambley
the command from the capistrano output to a SSH session produces the expected behaviour of filling the the release/ TIMESTAMP folder with data Thanks -- Aníbal On Jun 27, 1:25 pm, Lee Hambley lee.hamb...@gmail.com wrote: Aníbal, Are you sure you're checking in the right place

[capistrano] Re: Capistrano + cPanel = ?

2009-06-27 Thread Lee Hambley
on both rubyforge and GitHub (geoffgarside/ primehosting). I don't know if there have been any recent cpanel changes which might have broken it as I've not touched the project for a while now but let me know if you can't get it working. On 25 June, 12:19, Lee Hambley lee.hamb

[capistrano] Re: How to deploy single app spanning two dirs: one is Rails, one is Octave ?

2009-06-28 Thread Lee Hambley
Does is reside in one repository or two? - Lee 2009/6/28 Joshua redst...@gmail.com Hi, I'm new to Capistrano. Is there an easy way to deploy an application that requires two directories? The first directory is a vanilla Ruby on Rails application directory tree. The second is a directory

[capistrano] Re: Problem with bzr checkout command not working _when executed from capistrano_

2009-06-28 Thread Lee Hambley
? Thanks a lot for your responses, -- Aníbal On 27 June, 16:24, Lee Hambley lee.hamb...@gmail.com wrote: Aníbal, Are you running the command as yourself, or as the :deploy_user, if you have it configured to use a specific username for your connection? - Lee 2009/6/26 Aníbal Rojas

[capistrano] Re: help! capistrano not creating 'current' directory

2009-06-29 Thread Lee Hambley
Josh, Did you recently start using git? I suspect the tmp/ directory doesn't exist... Git won't track empty directories. - Lee 2009/6/29 Josh josh.rach...@gmail.com I have never had this problem before, but when I try to do a cap deploy:update, after a setup and a check that passes, it gives

[capistrano] Re: How to deploy single app spanning two dirs: one is Rails, one is Octave ?

2009-06-29 Thread Lee Hambley
On Jun 27, 11:24 pm, Lee Hambley lee.hamb...@gmail.com wrote: Does is reside in one repository or two? - Lee 2009/6/28 Joshua redst...@gmail.com Hi, I'm new to Capistrano. Is there an easy way to deploy an application that requires two directories? The first directory

[capistrano] Re: help! capistrano not creating 'current' directory

2009-06-29 Thread Lee Hambley
the cap deploy:setup properly. Don't ask me how 2009/6/29 Lee Hambley lee.hamb...@gmail.com: Josh, Did you recently start using git? I suspect the tmp/ directory doesn't exist... Git won't track empty directories. - Lee 2009/6/29 Josh josh.rach...@gmail.com I have never had

[capistrano] Re: deploy without app or db

2009-06-29 Thread Lee Hambley
Joe, Can you paste the exact error? - Lee 2009/6/29 Joe McDonagh joseph.e.mcdon...@gmail.com Mathias Meyer wrote: On Fri, Jun 19, 2009 at 10:12 PM, Joe McDonaghjoseph.e.mcdon...@gmail.com wrote: Hi, I have a simple web push I want to do, and it looks like it works fine, but it's not

[capistrano] Re: Deployment help

2009-07-02 Thread Lee Hambley
Jillian, please paste your deploy.rb - particularly the task definition to make the symlink and the hook to insert that into the execution chain. -- Lee 2009/7/2 Jillian jill...@gmail.com Hi, I am trying to have a wiki on the same domain as my rails application. I use capistrano to deploy

[capistrano] Re: Capistrano for Systems administrators

2009-07-02 Thread Lee Hambley
Will, People say that largely because it's handy to be able to tell an existing list of servers that you deploy to, to run a command - some people (like myself) choose to ship a bash script with their app, to provision the server. Others use software like Deprec, Chap, Puppet or Sprinkle to do

[capistrano] Re: Capistrano for Systems administrators

2009-07-02 Thread Lee Hambley
or Puppet for server provisioning but it maybe a task for the future and Capistrano may have a role to play there. Thanks for replying, Will On Jul 2, 1:45 pm, Lee Hambley lee.hamb...@gmail.com wrote: Will, People say that largely because it's handy to be able to tell an existing

[capistrano] Re: Capistrano for Systems administrators

2009-07-02 Thread Lee Hambley
Joe, Thanks for the resources, that's great to know - wiki search always sucks! - Lee 2009/7/2 Joe McDonagh joseph.e.mcdon...@gmail.com Lee Hambley wrote: Joe, Puppet looks great, but I'm pretty switched-on, and I still have no idea if I could use it on Gentoo their disparate docs

[capistrano] Re: Capistrano for Systems administrators

2009-07-02 Thread Lee Hambley
yet to look into Chef or Puppet for server provisioning but it maybe a task for the future and Capistrano may have a role to play there. Thanks for replying, Will On Jul 2, 1:45 pm, Lee Hambley lee.hamb...@gmail.com wrote: Will, People say that largely because it's handy to be able

[capistrano] Re: Capistrano for Systems administrators

2009-07-02 Thread Lee Hambley
or Puppet for server provisioning but it maybe a task for the future and Capistrano may have a role to play there. Thanks for replying, Will On Jul 2, 1:45 pm, Lee Hambley lee.hamb...@gmail.com wrote: Will, People say that largely because it's handy to be able to tell an existing

[capistrano] Re: Deployment conflict question

2009-07-02 Thread Lee Hambley
Cindy, Your mileage may vary using the remote dependencies and deploy:check... you should also have a way of managing gems, this can be done through modern rails (2.x+) or with a specific gem called geminstaller. http://mislav.uniqpath.com/rails/specify-your-dependencies-with-capistrano/ - Lee

[capistrano] Re: Deployment conflict question

2009-07-02 Thread Lee Hambley
#2 and deploying without the Passenger restart? -- *From:* capistrano@googlegroups.com [mailto:capistr...@googlegroups.com] *On Behalf Of *Lee Hambley *Sent:* Thursday, July 02, 2009 1:32 PM *To:* capistrano@googlegroups.com *Subject:* [capistrano] Re

[capistrano] Re: Error: no such file to load -- net/ssh/gateway

2009-07-02 Thread Lee Hambley
Eric, It may be prudent to reinstall those gems? I can think of a few other things that might manifest that way, but first things first! - Lee 2009/7/2 ericindc ericmilf...@gmail.com I've been uninstall, reinstalling, etc. to try and get Capistrano working. Just trying to do a simple cap

[capistrano] Re: Error: no such file to load -- net/ssh/gateway

2009-07-02 Thread Lee Hambley
the dependencies individually. On Jul 2, 3:21 pm, Lee Hambley lee.hamb...@gmail.com wrote: Eric, It may be prudent to reinstall those gems? I can think of a few other things that might manifest that way, but first things first! - Lee 2009/7/2 ericindc ericmilf...@gmail.com

[capistrano] Re: Error: no such file to load -- net/ssh/gateway

2009-07-02 Thread Lee Hambley
/local/bin/ruby ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.7.1] There is also the default install that comes with OS X that is in /usr/ bin On Jul 2, 3:35 pm, Lee Hambley lee.hamb...@gmail.com wrote: What version of rubygems are you using, and what O/S ?... are you using

[capistrano] Re: :use_sudo, and when sudo is actually used

2009-07-06 Thread Lee Hambley
Hi Joe, It's a tricky one, I can help you out with a patch you can load your self, check the ticket in a couple of minutes (or wait for an email, I'm just releasing a new capify.org (update: should be live now)) - Lee 2009/7/6 Joe McDonagh joseph.e.mcdon...@gmail.com Changing permissions

[capistrano] Re: Not deploy to 2 roles

2009-07-07 Thread Lee Hambley
Shumkov, Unless you have redefined your tasks, your roles should be set to :app, :web or :db. - Lee 2009/7/7 Shumkov ivanshum...@gmail.com Hi gus, i have 2 roles in deploy.rb: role :gamma, '195.182...' role :tetta, '195.182...' When i'm user cap deploy i see:

[capistrano] Re: Not deploy to 2 roles

2009-07-07 Thread Lee Hambley
Shumkov, What previous version of Capistrano were you using? - lee 2009/7/7 Shumkov ivanshum...@gmail.com Hmmm, on previouse versions roles with my names work prefect. On Jul 7, 12:35 pm, Lee Hambley lee.hamb...@gmail.com wrote: Shumkov, Unless you have redefined your tasks, your roles

[capistrano] Re: Not deploy to 2 roles

2009-07-07 Thread Lee Hambley
Byron...That may well be the case, whatever the case, I do need to clarify this a bit and document it. - Lee 2009/7/7 Byron Saltysiak byronsa...@gmail.com How would capistrano know which role to deploy to if you don't specify it? I believe if you don't specify it will run on all roles it

[capistrano] Re: How after connect execute all commands under another user?

2009-07-08 Thread Lee Hambley
Kronos, You can't do that, sorry - you will need to reconsider how your server checks out from SVN, or how Capistrano connects... you can't run all commands as another user, or borrow another user's keys, that's unix 101. Happy to accept a patch to do what you want this to do, as the ability to

[capistrano] Re: Not deploy to 2 roles

2009-07-08 Thread Lee Hambley
/releases/20090707223233/REVISION) servers: [195.182, 195.182] I'm wait 5 minutes but picture not changed. On Jul 7, 6:17 pm, Lee Hambley lee.hamb...@gmail.com wrote: Byron...That may well be the case, whatever the case, I do need to clarify this a bit and document

[capistrano] Re: Multi-stage seems to run the stage on both servers...

2009-07-10 Thread Lee Hambley
John, Can you post your config, please try not to nerf too much of your config/server definitions, if you wanna zip it up, and send it over, since there are a few files involved with multistage that's fine too. -- Lee Hambley Twitter: @leehambley Blog: http://lee.hambley.name/ Working with Rails

[capistrano] Re: deploying on Win2003

2009-07-13 Thread Lee Hambley
Sig, If you have a unix like environment on there (access to it via SSH, and unix-style tools like CD, ls, etc) you might stand a chance. -- Lee Hambley Twitter: @leehambley Blog: http://lee.hambley.name/ Working with Rails: http://is.gd/1s5W1 2009/7/13 Macsig sigbac...@gmail.com Hello

<    1   2   3   4   5   6   7   8   9   10   >