Displaying 1 result from an estimated 1 matches for "gems_dir".
Did you mean:
gem_dir
2006 Mar 02
0
Making SwitchTower work with csh (and other non-posix shells)
...l. Today I
decided to make it work, and came up with the very simple solution of
wrapping the failed commands inside a bash instance. Blog post is
http://www.flpr.org/articles/2006/03/02/make-switchtower-work-with-csh-hack
Solution (so you don''t have to read the blog post :) is to edit
$gems_dir/switchtower-1.0.1/lib/switchtower/scm/base.rb (line 34) to
read:
command = <<-STR
/usr/local/bin/bash -c
''if [[ ! -d #{configuration.release_path} ]]; then
#{guts}
#{logging_commands(directory)}
fi''
STR
So if you want to use SwitchTower along with csh, now...