similar to: Capistrano :db role

Displaying 20 results from an estimated 7000 matches similar to: "Capistrano :db role"

2006 Apr 10
1
Capistrano/SwitchTower: DB activity for deploy task?
All, Does anyone know if Capistrano/Switchtower actually does anything on the database server as part of the "deploy" task? I''m pretty sure that it doesn''t, but thought I would verify. Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Aug 16
4
Deploying only what you need with Capistrano?
The recent Rails security issue highlighted a concern I''ve had about Rails deploys; namely, you shouldn''t deploy anything to production that you don''t need there. Rails apps have a number of scripts--potential security holes or DOS targets in this case--along with all the other application code you need. There''s no reason you should have script/server, console,
2007 Oct 22
4
HOW TO REBUILD DATABASE WITH CAPISTRANO
I''ve deployed an application using Capistrano. But on my local machine I edited one of the earlier migrations. I''ve tried "cap deploy_with_migrations", but it looks like it didn''t rebuild the database. How can I do the equivalent of this using Capistrano? "rake db:migrate VERSION=0" "rake db:migrate" -- Posted via
2006 Mar 07
5
Capistrano: command never finishes?
Hi, I have created a small :restart task to overwrite the default one: task :restart, :roles => :app do sudo "/etc/init.d/lighttpd stop" sudo "/etc/init.d/lighttpd start" end This works fine and lighty does restart, but the last command never finishes, so I never return to the prompt. Here''s my output: cap restart loading configuration
2006 Mar 27
2
Capistrano deployment issues under Ubuntu Dapper
I''ve recently upgraded my box from Ubuntu Breezy to Dapper, and for the life of me can''t figure out why I''m getting this exception thrown. I''ve switched from Switchtower to Capistrano, and when I run rake deploy I get this output: ** [update_code] exception while rolling back: NameError, uninitialized constant Net::SSH::Transport::OSSL
2006 Jun 15
4
testing with transactions
Hello! I experienced problems with testing transactions which are supposed to be rolled back, but are not, because of transactional fixtures eliminating the inner transaction. Can this be worked around somehow without turning off transactional fixtures? Maybe savepoints can help this? Does anyone have any experience with savepoints to achieve nested transaction functionality? Both Postgres
2006 Mar 30
4
Capistrano Shovel onto Textdrive SVN error
I''m using the Shovel recipe to deploy my lovely app to text drive. everyhting seems to be ok apart from the deploy action which fails saying that there is "No such file or directory" I''ve included the full error listing below. The SVN definately exists because we''re using for development. Does any one have any ideas what might be going wrong? Thanks Tom
2006 May 17
3
Capistrano: Skipping require of dynamic string
Hi all, I am starting out to play with capistrano. I installed the capistrano gem, and I got some messages. I am not sure if these are errors, warnings or just status messages.I hope someone here can help me understand these messages, so that I don''t suspect Capistrano installation if I run into issues further down. :-) binil$ gem install -r capistrano Attempting remote installation
2006 Apr 10
5
I have a Capistrano 1.1 patch - where does it go?
I have a patch for Capistrano 1.1 - how do I submit it? Wes -- Posted via http://www.ruby-forum.com/.
2006 Apr 18
3
Capistrano and Certificates
All, I''m setting up a deployment script with Capistrano at the moment, and am running into some trouble when it attempts to pull the code down from the SVN server when I run the deploy task. The SVN server runs over https, and the problem seems to be when I get asked whether I want to accept or reject the certificate. I hit ''p'' to accept the certificate permanently,
2006 Mar 21
2
Capistrano: creating your own tasks
When I create a task within capistrano.rb I can call it using rake. When I create a task and put it in deploy.rb I can call it. Neither with or without the remote: namespace. Anyone have any insight into why it does not work? John Kopanas
2006 Mar 06
46
Capistrano 1.1
Capistrano is a utility for executing tasks in parallel across multiple remote hosts. It was formerly known as SwitchTower. Installation: gem install capistrano Manual: http://manuals.rubyonrails.org/read/book/17 Version 1.1 introduces a few changes: * Renamed! Due to the trademark infringement debacle of last week, we had to change the name. Moving forward it will be known as
2006 Apr 10
1
Capistrano/SwitchTower "current" dir deployment question
All, I have successfully executed the "deploy" task in Capistrano/Switchtower to establish a symbolic link named "current" which points to the current version of my app. on my remote server. My app. was already deployed to the existing Rails root directory (call it "appname") though. I have Apache fronting my app. through a virtual host whose doc. root is itself
2006 Mar 31
2
Capistrano, multiple instances of an application
I''ve been meaning to look into using Switchtower/Capistrano for some time now, and after briefly taking a look, it seems geared towards deploying ''an application'' perhaps to multiple machines and keeping it in check in all cases. I was wanting to use it in some legacy situations where the case is more that I deploy an instance of an application multiple times, sometimes
2006 Mar 16
3
Questions on using Capistrano with CVS
Today I managed to deploy my application using Capistrano, using CVS as the SCM, but I had to use some workarounds I''m not quite happy about. Maybe I just did something wrong, maybe these are missing features/bugs in Capistrano: 1) I used Capistrano earlier with SVN, and there it re-used the password for the remote server for doing the checkout. However, CVS kept complaining the
2006 Apr 17
3
Slow-down with Capistrano?
This could be entirely my imagination, but it _feels_ like my apps are ever so slightly less responsive after deploying with Capistrano. Is that even possible? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060417/73f30cef/attachment.html
2006 May 16
8
capistrano can''t find svn
I''m trying to get capistrano to deploy to an osx machine - rake remote:cold_deploy but it fails on the svn co line with "bash: line 2: svn: command not found" I''ve set the proper path to svn (/usr/local/bin) in both .bash_profile and .bash_login but capistrano seems to be ignoring these. How does capistrano know where to look for svn? Thanks
2006 May 14
2
Capistrano + symlink to a shared images directory
Hi everyone, I have deployed a rails tumblelog site via capistrano, but have run into a problem. What I am wanting to do is this: In my deployment script create symlinks from the public directory so that the images directory points to a shared images directory. Reason being is I am adding an image upload to the site (not file_column) and need to easily add the uploaded images and thumbs into
2006 Mar 15
2
Capistrano/Switchtower screencast
Just a quickie, Hope I''m not going crazy here but I''m sure I''ve seen a screencast for capistrano recently... maybe posted on a blog somewhere. Can anyone remember where it is? Thanks -henry
2006 Mar 16
4
Capistrano :update_code problem
Hi all, I want to love capistrano and I''m so close. My error is occuring while running the update_code task... (apologies for the shell spew) ************************************************************************* * executing "rm -rf /home/henster29/sites/glitter/releases/20060316143447/log /home/henster29/sites/glitter/releases/20060316143447/public/system &&\n ln