Azure-App-Service / ruby

Apache License 2.0
22 stars 20 forks source link

manually install version of freeTDS #38

Open padmick opened 4 years ago

padmick commented 4 years ago

Changes pulled from https://github.com/Azure-App-Service/ruby-template/blob/dev/template/Dockerfile to fix error on deploy of tiny_tds gem to Azure app service on bundle install to all app versions.

Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /tmp/bundle/gems/tiny_tds-2.1.2/ext/tiny_tds /usr/local/.rbenv/versions/2.4.5/bin/ruby -r ./siteconf20200203-331-1acoqp.rb extconf.rb checking for sybfront.h... no checking for sybdb.h... no checking for tdsdbopen() in -lsybdb... no checking for dbanydatecrack() in -lsybdb... no Failed! Do you have FreeTDS 0.95.80 or higher installed? *** extconf.rb failed ***

amsimon commented 4 years ago

Please merge this in.