Displaying 20 results from an estimated 4000 matches similar to: "Making SwitchTower work with csh (and other non-posix shells)"
2006 Feb 25
1
a switchtower recipe to copy rather than checkout
For those who want use switchtower to deploy to a remote server that does not have
access to the main subversion repository, here is a task I just hacked up to use
switchtower to deploy to my servers by copying a local directory to the servers, rather
than have the servers use svn checkout.
I actually create my local directory using an svn export, but you can do whatever you
like here, and just
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 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 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:
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 24
2
SwitchTower and multiple database.yml files - how do you deal with them?
Hi everyone,
What are other people doing with regards to database.yml being in
version control?  My dilema:
I set up my rails app in svn using these instructions:
http://wiki.rubyonrails.com/rails/pages/HowtoUseRailsWithSubversion
The part to note is where I ignore database.yml, allowing different
developers to keep their own database.yml without clobbering other
developers'' files. 
2006 Feb 28
2
SwitchTower rake deply failure on DreamHost
I''ve been following some tutorials on how to get switchtower working on 
dreamhost. I got the setup to work just fine, but the rake deploy 
doesn''t work. I get the following error. any ideas?
----------------------------------------------
> rake deploy
(in /home/.interim/i8ramin/work/yaram.com)
    loading configuration 
2006 Feb 19
8
SwitchTower to skip config/ directory
Hello,
  I am  trying to figure out how to use switch tower.I have a local copy of
source code and I want to put it on the host.Now I dont want to put
directories like config/ because the settings on the host and the one on my
machine are different.
Any way to do this?
Also is svn necessary to use SwitchTower?
Vivek
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Oct 31
0
PSARC/2005/460 Increasing the shell variable name length in csh
Author: jonb
Repository: /hg/zfs-crypto/gate
Revision: aaf20404f793856b5286f916927b21e04c9276b7
Log message:
PSARC/2005/460 Increasing the shell variable name length in csh
1191119 *csh* : can''t use the set command for variable larger than 21 characters in csh
Files:
	update: usr/src/cmd/csh/sh.c
	update: usr/src/cmd/csh/sh.h
	update: usr/src/cmd/csh/sh.tconst.c
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 Oct 31
0
6268990 cmd/csh and gcc don''t get along
Author: muffin
Repository: /hg/zfs-crypto/gate
Revision: 1185b1416f2a1ca60093f12914f451ade7de8d43
Log message:
6268990 cmd/csh and gcc don''t get along
Files:
	create: deleted_files/usr/src/cmd/csh/stubs.c
	delete: usr/src/cmd/csh/stubs.c
	update: usr/src/cmd/csh/Makefile
	update: usr/src/cmd/csh/csh.xcl
	update: usr/src/cmd/csh/i386/Makefile
	update: usr/src/cmd/csh/i386/signal.c
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 02
3
SwitchTower 0.10.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. It was developed primarily to ease the pain of  
deploying Rails applications to multiple machines, but can
2006 Feb 17
1
switchtower, CVS, and ''configuration.local''
I''m trying to get switchtower to work with CVS.
I see "querying latest revision..." and then it states "[update_code]
transaction: rollback"
I''m open to any and all suggestions at this point.
I put some logging statements in the switchtower code and it seems to fail
at this statement in switchtower-0.10.0/lib/switchtower/scm/cvs.rb
@latest_revision =
2000 Nov 20
0
FreeBSD Security Advisory: FreeBSD-SA-00:76.tcsh-csh
-----BEGIN PGP SIGNED MESSAGE-----
=============================================================================
FreeBSD-SA-00:76                                            Security Advisory
                                                                FreeBSD, Inc.
Topic:          tcsh/csh creates insecure temporary file
Category:       core, ports
Module:         tcsh, 44bsd-csh
Announced: 
2005 Oct 19
1
can't start csh (scripts) (PR#8220)
Dear R developers,
after upgrading from R 2.1.1 to 2.2.0 I can't start csh (scripts) anymore.
While the following commands work fine
  > system("tcsh -c pwd")
  /hom1/users/gloeckler
  > system("bash -c pwd")
  /hom1/users/gloeckler
  > system("ksh -c pwd")
  /hom1/users/gloeckler
csh (in contrast to the shells used above) doesn't give any result:
2006 Jan 28
1
Switchtower different svn repo urls from my local box and my shared hosting
I got problems running switchtower 0.10.0 when I try to run "rake deploy"
from my local box (windows) to my shared hosting
If I set the repository to (deploy.rb):
set :repository, "file:///home/[my_user]/repo/[my_app]/trunk"
My local box (windows) can''t reach the subversion repository located in
site5
If I set the repository to:
set :repository,
2006 Jan 05
4
Switchtower for distribution?
I am just about to dive into Switchtower, but had a thought (go 
figure?).
Could Switchtower use be inverted?
Could user, clients, or customers install switchtower and "pull" 
applications?
Just a thought.
-- 
Posted via http://www.ruby-forum.com/.
2006 Jan 05
1
How to freeze SwitchTower
Hi all,
I''m wondering if "rake freeze_gems" will freeze SwitchTower as well.
If it doesn''t, I could try to modify the rake task at [1] to freeze
extra gems such as switchtower into vendor/ (the rake task at [1]
freezes gems into lib/ which I disagree with).
Is there anyone else actually using a "frozen" SwitchTower? If so,
what did you do to freeze it with a
2005 Dec 29
1
Best Practice: file_column+Switchtower
Finally getting my app up and running with Switchtower. I am also using
file_column in my project.
By default, it creates a directory for each model under ''public'' and goes
from there.
I have users adding files in my production application and those files they
added aren''t managed under SVN as they aren''t part of the app, they are
added content. Plus, since