我試圖運行Ruby on Rails並連接到MS SQL數據庫。我安裝了RoR,並創建了我將連接到的數據庫。我創建和測試模型,當試圖$ rake db:migrate時,我得到了rake中止錯誤(沒有這樣的文件加載 - tiny_tds)。 在這一點上,我下載並解壓FreeTDS。當我提交$ ./configure時出現問題。運行FreeTDS時出現語法錯誤配置文件
下面是命令和所產生的錯誤信息(在Windows 7 Pro的OS框Cygwin的終端):
$ ./configure
./configure: line 31: syntax error near unexpected token `newline'
'/configure: line 31: `;;
這是從freetds的代碼配置文件(線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+"[email protected]"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"[email protected]"}'='"[email protected]"'
setopt NO_GLOB_SUBST
else
case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
esac
fi