similar to: Switchtower deployment

Displaying 20 results from an estimated 5000 matches similar to: "Switchtower deployment"

2006 Feb 01
18
Switchtower Error
This is my deploy file set :application, "varcasa stage" set :repository, "file:///c:/svnrepo/thenali/trunk" # ============================================================================= # ROLES # ============================================================================= # You can define any number of roles, each of which contains any number of # machines. Roles might
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 Feb 11
1
Switchtower deploy fails though setup works
I''m trying to use SwitchTower to deploy from XP to Dreamhost. Based on <http://nubyonrails.com/pages/shovel_dreamhost>, my deploy.rb looks like: set :user, ''dankohn'' set :application, "flydash.com" set :repository, "http://svn.flydash.com/flydash/flydash" #set :repository, "svn+ssh://home/#{user}/svn/flydash" #set :repository,
2006 Jan 19
12
Switchtower isn''t restarting lighttpd
I''ve got switchtower set up, and it seems to work fine except for one problem: It doesn''t successfully restart lighttpd. I have the following task in my deploy.rb file: desc "Restart the web server" task :restart, :roles => :app do sudo "/usr/local/etc/rc.d/lighttpd.sh restart" end This is on a FreeBSD system, so it''s using the rc script to
2006 Mar 02
2
SwitchTower: why symlink releases/under -> current?
Hi, I have a trouble with deploying my ordinary rails application(myapp). When I execute ''rake deploy'', [...] command finished * executing task symlink * executing "ls -x1 /var/www/myapp/releases" servers: ["app1.olalog.com"] [app1.olalog.com] executing command command finished * executing "ln -nfs /var/www/myapp/releases/under
2006 Feb 17
3
Switchtower (0.10.0), ssh and environment confusion
Seems like my day for Rails posts... :) OK. I''ve started using Swtichtower to help with deploying changes to my production rails apps. Unfortunately I''ve come accros an inconsistency that I can''t quite figure out. It''s about the PATH env var under Bash. I''ve created a task that just does a: run "env", to show what I''m seeing:
2005 Aug 04
1
SwitchTower CVS support
I did an svn up this morning and discovered this whole new bundle of code! Lookingn through it it looks cool, but there''s no CVS support for an SCM - I''d have thought this would be more widely used than darcs. Looking at the code for subversion.rb and I thought it''d be possible to add a new scm - CVS. I''m running into 3 problems: 1- I''m still
2006 Feb 21
9
SwitchTower 1.0.1, SwitchTower Extensions
SwitchTower is a utility that can execute commands in parallel on multiple servers. It allows you to define tasks, which can include commands that are executed on the servers. You can also define roles for your servers, and then specify that certain tasks apply only to certain roles. Manual: http://manuals.rubyonrails.org/read/book/17 Project:
2006 Mar 31
3
undefined method `<=>'' for :id:Symbol
Upgrading to 0.9.0, I have the following error. Anybody? c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/index/term.rb:35:in `<=>'': undefined method `<=>'' for :id:Symbol (NoMethodError) from c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/index/term_infos_io.rb:263:in `get_index_offset'' from
2006 Feb 09
1
SwitchTower with multiple repositories
I''d like to get SwitchTower to checkout from different repositories per role? The db role checks out different stuff from the app role, etc. I don''t mind redefining SwitchTower::SCM::Subversion.checkout. But I''m not sure the best way to do it. How would that method parameterize the repository based on role? It''d be something like this: command =
2006 Jan 03
7
switchtower, windows and dispatch.fcgi
I just setup switchtower and I am very happy with it. Just one thing is giving me some headache: My development machine is windows and my deployment host is Unix. Each time I deploy I need to make dispatch.fcgi executable. I wrote my own task for that. But does there exist any smarter way to get this automated ? I think Subversion offers some possiblity to declare a file as executable, but no idea
2005 Dec 21
4
Switchtower question: how to use SVN export
I use Switchtower to deploy my Ruby on Rails application, which works great. However, it appears to be doing a SVN checkout, which includes all the .svn directories as well. I would rather do an export from SVN. Is it possible to configure Switchtower to do this, or can I extend it in the deploy.rb? I haven''t been able to find any examples on the internet so far. thanks, Jeroen
2006 Jan 26
0
Switchtower deploy failing...
Hi, I am trying to deploy my app using switchtower on a linux machine from a windows box and running into the following issue: > rake deploy Any ideas ?? Many thanks... /usr/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/configuration.rb:197:in `method_missing'': undefined method `local'' for #<SwitchTower::Configuration:0x102b58c8> (NoMethodError)
2006 Feb 19
2
SwitchTower 1.0.0
SwitchTower is a utility that can execute commands in parallel on multiple servers. It allows you to define tasks, which can include commands that are executed on the servers. You can also define roles for your servers, and then specify that certain tasks apply only to certain roles. Manual: http://manuals.rubyonrails.org/read/book/17 Project:
2006 Jul 27
5
Dreamhost working deploy.rb? Can anyone post/send me a copy?
Hi, Just trying to get Capistrano working to Dreamhost. I''m hitting a permissions issue on the reaper file at the moment. Has anyone a copy of the capistrano DEPLOY.RB file they could post or send me a copy of please? Thanks Greg -- Posted via http://www.ruby-forum.com/.
2006 Mar 01
4
SwitchTower deployment has errors with different :db server
When I define :db to be a different server than either :web or :app, and run "rake deploy". Switchtower will abort with an Net::SSH::AuthenticationFailed error. The version of Switchtower I''m using is 1.0.0 and the deploy task is the default supplied with Switchtowe. However, I dont have any problem when :db is changed to the same as :web and :app. -------------- next part
2005 Dec 22
4
Switchtower problem - `sysread'': bignum too big to convert into `long'' (RangeError)
I''m trying to set up switchtower, following the info in the Manual, but am getting this error when I run "rake remote_exec ACTION=setup": servers: ["cantona.dnswatchdog.com"] /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:203:in `sysread'': bignum too big to convert into `long'' (RangeError) from
2006 Jun 29
3
Questions on ActiveRecord implementation
Hi, I got several questions on AR adapters implementation: 1. For SqlServer/Oracle, SQL queries are built by concatenation, and there is no use of parameters. Especially for Oracle, this is very bad, no optimization can be done. Is there a reason for that? Does anybody plan to fix that? 2. When updating a model, _all_ columns are updated. Why not only the diff is updated? Using blob/cblob, it
2006 Jan 26
7
Switchtower Port Issues
Hi there, I''m having some difficulties finding some decent info on getting Switchtower to function for my needs. I''ve read most of the Switchtower doc on http://manuals.rubyonrails.com/read/chapter/97, however it''s not answering some potent questions I have. 1. The doc mentions, as an example, using an SVN repos at http://svn.switchtower.com/flipper/trunk What if I
2006 Jun 14
7
CR issue
Hi, I am using RedCloth (3.0.4). First using online text2html (http://www.textism.com/tools/textile/) , "123 456" returns <p>123<br />456</p> But by code: <code> require ''RedCloth'' puts RedCloth.new("123\n456").to_html </code> I got: <p>123 456</p> CR is not taken in consideration. Is there any parameter I am