I’m attempting to integrate Gemnasium into our community project and running into some sort of oddity that I can’t figure out.
We are Ruby 2.4.1 and Rails 5.0.2, mongo, etc…
Gemnasium toolbelt is installed as a part of our build steps through:
dependencies: post: - bash ./scripts/install_gemnasium.sh
Which runs a simple bash script to install gemnasium (working fine as far as I know)
And then run as such:
- bash ./scripts/gemnasium_autoupdate.sh
As a step in test: post:
The issue I am running into is I’m setting environment variables in CircleCI for GEMNASIUM_TOKEN and it doesn’t appear to be available inside these scripts. Am I missing something?
I’ve done everything I can think of thus far, including a debug statement to output one of the less private env variables I setup.
A build where you can see this is: https://circleci.com/gh/DCAFEngineering/dcaf_case_management/2155
Appreciate any help, I’m sorta curious if the bash scripts are being run under a different user that doesn’t have access to the env variables or something akin? Also I have yet to see any real documentation on getting the two working together, so I figure making a public issue is a good thing. Thanks!