[capistrano] Re: newbie delpoy:cold problem

2009-06-04 Thread Anthony Ettinger
/capistrano-2.5.5/lib/ capistrano/cli/execute.rb:14:in `execute'        from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.5/bin/ cap:4        from /usr/local/bin/cap:19:in `load'        from /usr/local/bin/cap:19 -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name

[capistrano] Re: newbie delpoy:cold problem

2009-06-04 Thread Anthony Ettinger
/bin/cap:19:in `load'         from /usr/local/bin/cap:19 [...@cat website]$ -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Capistrano group

[Capistrano] overriding variables in stage.rb

2008-11-02 Thread Anthony Ettinger
) ./deploy/stage.rb set :application_domain, #{application} #example.com ./deploy/qa.rb set rails_env, 'qa' set :application_domain, #{rails_env}.#{application} #example.com However variables defined in ./deploy/stage.rb files aren't accessible from the general ./deploy.rb script. -- Anthony

[Capistrano] Re: Multidimensional multi-staged development and excluding directories

2008-11-02 Thread Anthony Ettinger
files (ie: avatars, user images, etc) into the ./app/shared/ folder. -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http

[Capistrano] cap deploy:cold (before task)

2008-10-29 Thread Anthony Ettinger
I want to add a before_task to deploy:cold (if that's possible) task :mktmp do run(mkdir #{home_path}/tmp) end -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED

[Capistrano] Re: cap deploy:cold (before task)

2008-10-29 Thread Anthony Ettinger
I also found this to work: namespace :deploy do task :before_cold do run(...) end end On Wed, Oct 29, 2008 at 1:57 AM, Mathias Meyer [EMAIL PROTECTED] wrote: On Wed, 29 Oct 2008 01:42:17 -0700, Anthony Ettinger wrote: I want to add a before_task to deploy:cold (if that's possible

[Capistrano] Re: deploy without root or sudo privileges?

2008-07-17 Thread Anthony Ettinger
/shared/pids' as root on node257. Any suggestions? Thanks, Jared -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http

[Capistrano] Re: copy directory

2008-07-13 Thread Anthony Ettinger
. Can someone point me to documentation or tutorials on how to do this? Thanks Stijn -- Rafael Garcia Ortega rgo.vcf 1KDownloaden -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group

[Capistrano] Re: Can I change the cp options for cap ?

2008-07-08 Thread Anthony Ettinger
time . For the cap use cp -RPp , and if I want the cap to use cp -alRPp options , how to configure ? Thanks in advance ! Any info would be greatly appreciated ! -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name

[Capistrano] Re: cap deploy:upload - Doesn't create directories?

2008-07-08 Thread Anthony Ettinger
FILES=public/images/people/bob Any answers? Cheers. -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http

[Capistrano] Re: cap deploy:upload - Doesn't create directories?

2008-07-08 Thread Anthony Ettinger
Yes, it does create the directories though. On Tue, Jul 8, 2008 at 4:07 PM, chris johnson [EMAIL PROTECTED] wrote: No; these servers are mature and have had many cap deployments to them already. Isn't cap deploy:setup just for the initial setup? On Jul 8, 4:03 pm, Anthony Ettinger [EMAIL

[Capistrano] Re: why can't Capistrano see svn on my linux account

2008-07-06 Thread Anthony Ettinger
.bashrc (profile is for interactive logins only) On Sat, Jul 5, 2008 at 10:10 PM, greghauptmann [EMAIL PROTECTED] wrote: I had already added it to .bash_profile. Was this not the right place? (I'm not at home at the moment) Anthony Ettinger wrote: try adding the path to svn

[Capistrano] Re: New recipe websire published

2008-07-06 Thread Anthony Ettinger
and deployed using Capistrano? Or is it just spam? -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com

[Capistrano] Re: where is Capistrano doco? (e.g. variables/parameters that can be used in deploy.rb, etc)

2008-07-06 Thread Anthony Ettinger
/webistrano/wiki/ConfigurationParameter Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL

[Capistrano] Re: deploy:upload and remote_cache: Only uploading new files(?)

2008-07-05 Thread Anthony Ettinger
/new_image.png Many thanks, Chris On Jul 2, 2:56 am, Anthony Ettinger [EMAIL PROTECTED] wrote: Assuming you have a symlink setup in ./shared/images to point to ./current/public/images after each deploy, then you could add a task like you're suggesting, that simply exports the ./project/public

[Capistrano] passing arguments as cap deploy --stage test

2008-07-05 Thread Anthony Ettinger
I am curious if I can pass the stage as an argument to capistrano commands, rather than duplicating the logic for each stage namespace. When I tried using OptionsParser it gave me odd results. -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name

[Capistrano] Re: why can't Capistrano see svn on my linux account

2008-07-05 Thread Anthony Ettinger
/20080706004720 (echo 7 /u/apps/myequity/ releases/20080706004720/REVISION) failed on [EMAIL PROTECTED] Macintosh:myequity greg$ -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email

[Capistrano] Re: deploy:upload and remote_cache: Only uploading new files(?)

2008-07-02 Thread Anthony Ettinger
, it would be something like the remote_cache strategy, only uploading new images. Something like cap deploy:images would be lovely :-) Any direction here? Thank you much. -Chris -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name

[Capistrano] Re: Cannot deploy

2008-06-30 Thread Anthony Ettinger
) from /var/lib/gems/1.8/gems/capistrano-2.4.3/bin/cap:3 Any ideas? Thanks! -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group

[Capistrano] Re: which owner for unix server account? (I assume I shouldn't use root?)

2008-06-30 Thread Anthony Ettinger
other than root? Would I need to chown any of the Ruby/ SVN installation I've already done? (I'm looking at just initially running my app via the default mongrel) Thanks -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name

[Capistrano] adding version to rails app itself?

2008-06-29 Thread Anthony Ettinger
== 'production' ...where code.version refers to the current svn version. -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http

[Capistrano] Re: Error while deploying

2008-06-29 Thread Anthony Ettinger
/planetrails.digitalcodes.org/shared/cached-copy git checkout -q -b deploy bdfe1e7c1ac919875e727be63ebd177f3e27d01a; fi failed on planetrails.digitalcodes.org -- Anil http://anilwadghule.com -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name

[Capistrano] Re: Database Carrying Over

2008-06-27 Thread Anthony Ettinger
default data? Try adding some things from the application interface (ie: example.com/admin) and then re-deploy...your data should persist. -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send

[Capistrano] Re: Database Carrying Over

2008-06-27 Thread Anthony Ettinger
need to make sure they get put under the shared directory, rather than in your release directory. That's something you'll need to configure in your app, or make happen in some before/after hooks of your own. - Jamis On Jun 27, 2008, at 9:14 PM, Anthony Ettinger wrote: On Fri, Jun 27

[Capistrano] Re: Database Carrying Over

2008-06-27 Thread Anthony Ettinger
, and with sqlite it's not doing that. Will switching to postgre fix that? Thanks, David Pham On Jun 27, 11:12 pm, Anthony Ettinger [EMAIL PROTECTED] wrote: postgres is a fine DB for the more experienced db programmer. mysql works great too. (I've only tried RoR with mysql). If you need

[Capistrano] Re: Deploying from CVS (ssh-rsa) to dev box (ssh-dss)

2008-06-26 Thread Anthony Ettinger
. Can I define one type of host_key for CVS and another for the app server? -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group

[Capistrano] Re: Deploying from CVS (ssh-rsa) to dev box (ssh-dss)

2008-06-26 Thread Anthony Ettinger
error that I get when my keys are generated by simple ssh'ing in to the servers. Can I define one type of host_key for CVS and another for the app server? -- Anthony Ettinger 408-656-2473http://anthony.ettinger.name -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name

[Capistrano] Re: RAILS_ENV for multiple environments on the same server

2008-06-20 Thread Anthony Ettinger
beta.myapp.com www.myapp.com The configuration of each individual vhost needs to proxy connections to the appropiate set of mongrels. On Tue, Jun 17, 2008 at 8:42 AM, Anthony Ettinger [EMAIL PROTECTED] wrote: How do I setup my server to handle both production and test environments

[Capistrano] inheritance for cap deploy:setup

2008-06-20 Thread Anthony Ettinger
I need to add a directory to the list that is created by default when deploy:setup is ran: ./shared/pictures How do I do that without re-writing the entire thing? -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name

[Capistrano] Re: not having my way with cap deploy:cold (

2008-06-19 Thread Anthony Ettinger
not expecting that to be done from your local box where you run 'cap deploy'). -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit

[Capistrano] Re: trying to run acts_as_solr from capistrano

2008-06-18 Thread Anthony Ettinger
that does is execute the second command even if the first one fails. -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http

[Capistrano] RAILS_ENV for multiple environments on the same server

2008-06-17 Thread Anthony Ettinger
How do I setup my server to handle both production and test environments? The only way I have found so far is to set RAILS_ENV = 'production' in the .bashrc file -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe

[Capistrano] Re: cap deploy:web:disable with mongrel

2008-06-17 Thread Anthony Ettinger
/nginx/etc...) with mongrel. On Tue, Jun 17, 2008 at 2:16 AM, Anthony Ettinger [EMAIL PROTECTED] wrote: The default behaviour seems to only work with Apache + mod_rewrite. Has anyone found a way to enable/disable the web site with mongrel only? -- Anthony Ettinger 408-656-2473 http

[Capistrano] Re: cap deploy:web:disable with mongrel

2008-06-17 Thread Anthony Ettinger
at 9:29 AM, Anthony Ettinger [EMAIL PROTECTED] wrote: I'm using mongrel + proxy (no apache). On Tue, Jun 17, 2008 at 1:25 AM, John Ward [EMAIL PROTECTED] wrote: What are you using as your front end load balancer? The disable/enable tasks works by redirecting the front end load balancer

[Capistrano] Re: trying to run acts_as_solr from capistrano

2008-06-16 Thread Anthony Ettinger
:start_solr, :roles = :app do run cd #{deploy_to}/current rake solr:start RAILS_ENV=production /dev/null /dev/null 21 end after 'deploy:symlink', 'start_solr' -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from

[Capistrano] cap deploy:web:disable with mongrel

2008-06-16 Thread Anthony Ettinger
The default behaviour seems to only work with Apache + mod_rewrite. Has anyone found a way to enable/disable the web site with mongrel only? -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send

[Capistrano] gem versions on prod are different than dev...

2008-06-13 Thread Anthony Ettinger
Do prod gems get ignored when I do a rails --freeze locally before I push? -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group

[Capistrano] Re: gem versions on prod are different than dev...

2008-06-13 Thread Anthony Ettinger
from an SCM? If so, did you remember to commit your vendor directory before re-deploying? -John On Jun 13, 3:22 am, Anthony Ettinger [EMAIL PROTECTED] wrote: Do prod gems get ignored when I do a rails --freeze locally before I push? -- Anthony Ettinger 408-656-2473http

[Capistrano] Re: Net::SSH::AuthenticationFailed with capistrano 2.3

2008-06-08 Thread Anthony Ettinger
while rolling back: Capistrano::ConnectionError, connection failed for: mysql.domain.be (Net::SSH::AuthenticationFailed: user) connection failed for: mysql.domain.be (Net::SSH::AuthenticationFailed: tarscher) -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name

[Capistrano] trouble mailing to list

2008-06-04 Thread Anthony Ettinger
for some reason my posts and responses don't show up. -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http