Forum: Ruby on Rails Making SwitchTower work with csh (and other non-posix shells

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Pat M. (Guest)
on 2006-03-02 11:53
(Received via mailing list)
I tried using ST, but it didn't work with the csh shell.  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

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

command = <<-STR
  /usr/local/bin/bash -c
  'if [[ ! -d #{configuration.release_path} ]]; then


So if you want to use SwitchTower along with csh, now you can.

This topic is locked and can not be replied to.