Last active
February 26, 2019 10:37
Revisions
-
dinesh16 revised this gist
Jun 5, 2018 . 1 changed file with 3 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ #!/bin/bash # Install FreeTDS on Codeship - http://www.freetds.org @@ -22,8 +21,8 @@ fi ln -s "${TDS_DIR}/bin/"* "${HOME}/bin" ``` # run this as `bash path_to_file` and then run below comand bundle config build.tiny_tds --with-freetds-lib=/home/rof/cache/freetds/lib --with-freetds-include=/home/rof/cache/freetds/include -
dinesh16 created this gist
Jun 5, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ ``` #!/bin/bash # Install FreeTDS on Codeship - http://www.freetds.org TDS_DIR=${TDS_DIR:=$HOME/cache/freetds} set -e if [ ! -d "${TDS_DIR}" ]; then mkdir -p "${HOME}/freetds" wget "ftp://ftp.freetds.org/pub/freetds/stable/freetds-patched.tar.gz" tar -xaf "freetds-patched.tar.gz" --strip-components=1 --directory "${HOME}/freetds" ( cd "${HOME}/freetds" || exit 1 ./configure --prefix="${TDS_DIR}" make make install ) fi ln -s "${TDS_DIR}/bin/"* "${HOME}/bin" ``` then ``` bundle config build.tiny_tds --with-freetds-lib=/home/rof/cache/freetds/lib --with-freetds-include=/home/rof/cache/freetds/include ```