I'm attempting to run Ruby on Rails and connect to a MS SQL DB. I have RoR installed and I have created the database to which I'll be connecting. I created and Test Model and when attempting $ rake db:migrate I got a rake aborted error (no such file to load -- tiny_tds). At this point I downloaded and unzipped FreeTDS. When I submit $ ./configure that the problems arise.
Below is the command and the resulting error message (Cygwin terminal on a Windows 7 Pro OS box):
$ ./configure
./configure: line 31: syntax error near unexpected token `newline'
'/configure: line 31: `;;
This is the code from FreeTDS configure file (lines 19-33):
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
esac
fi