Skip to content
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

/tmp/envfile not read correctly in BuildDotenvConfig.ruby #219

Open
aforty opened this issue Jan 25, 2018 · 1 comment
Open

/tmp/envfile not read correctly in BuildDotenvConfig.ruby #219

aforty opened this issue Jan 25, 2018 · 1 comment

Comments

@aforty
Copy link

aforty commented Jan 25, 2018

Seems that in Xcode BuildDotenvConfig.ruby is not correctly reading the contents of /tmp/envfile if available. I've traced the problem down to the line 13.

  file = File.read("/tmp/envfile").strip

file contains the content of /tmp/envfile which the script then attempts to append to path and reading starting at line 26.

The problem can be solved by changing line 13 to simply be the path, which is then correctly read in and processed.

file = "/tmp/envfile"
@BboyKeen
Copy link

@aforty is right even if this issue is kinda old

Related to #698

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants