-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment variable #437
Comments
Just to add an update, I am now trying to use the bundler config option, which allows you to tell bundler where to install the freetds libraries from. So my bundle/.config file looks like:
From the logs I can see bundler using this option when installing tiny_tds, although it seems to have an extra backslash before the = sign?
Full log:
|
Ok the path was wrong, I was able to use the correct path to the compiled freetds folder: BUNDLE_BUILD__TINY_TDS: "--with-freetds-dir=/tmp/app/vendor/freetds" But its now failing with:
So it can't find libsybdb.so? Its in my |
I am using the environment variable (FREETDS_DIR) to provide a path to freetds in my application.
Since I am using Cloud Foundry and can only use 1 buildpack, I need to vendor the freetds dependency (please see the custom libraries section here: https://docs.pivotal.io/pivotalcf/2-2/buildpacks/ruby/ruby-tips.html#custom-libraries)
I am unclear what I need to do in order to provide the freetds dependencies that tiny_tds needs. Do I need to build and compile freetds or simply download the zip file and unzip it?
Here is what I have done:
Make Install
, just aMake
.Is this sufficient, from looking at the tiny_tds code, it looks for a freetds/include folder and also a freetds/lib folder.
I don't see a lib folder anywhere.
Can I vendor the freetds dependency this way and what folders should I supply with my applications source code?
Thanks
The text was updated successfully, but these errors were encountered: