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

System environment in VSCode terminal is different with OS (MacOS) #32213

Closed
hoksilato opened this issue Aug 10, 2017 · 4 comments
Closed

System environment in VSCode terminal is different with OS (MacOS) #32213

hoksilato opened this issue Aug 10, 2017 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues verified Verification succeeded
Milestone

Comments

@hoksilato
Copy link

  • VSCode Version: Version 1.14.2 (1.14.2)
  • OS Version: macOS Sierra 10.12.6 (16G29)
  • Extensions:

vscode-extensions

Here is the screenshot.

vscode

The first and second is iTerm2 (Build 3.1.beta.6) and the last one is VSCode terminal. I tried to echo GOOGLE_API_KEY from environment variables and get the different results.

My project is using Ruby on Rails with dotenv-rails gem.

Sorry, I don't know how to reproduce. But I tried to open VSCode without extension and still get the same issue.

@vscodebot vscodebot bot added the terminal Integrated terminal issues label Aug 10, 2017
@Tyriar
Copy link
Member

Tyriar commented Aug 21, 2017

GOOGLE_API_KEY is set by Electron, we haven't had any reason to remove it. Is this just an inconsistency you noticed or is this causing a problem?

@Tyriar Tyriar added the info-needed Issue requires more information from poster label Aug 21, 2017
@hoksilato
Copy link
Author

Because the GOOGLE_API_KEY is set by Electron was expired so that I want to use my own but whenever I start the web server (Puma - I'm using Rails) in integrated-terminal, it keeps using the one is set by Electron.

@Tyriar
Copy link
Member

Tyriar commented Aug 22, 2017

Out of curiosity, where do you set your GOOGLE_API_KEY?

@hoksilato
Copy link
Author

My project is using Ruby on Rails with dotenv-rails gem. So that I set my GOOGLE_API_KEY in .env file in my project root.

@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug and removed info-needed Issue requires more information from poster labels Aug 30, 2017
@Tyriar Tyriar added this to the September 2017 milestone Aug 30, 2017
@Tyriar Tyriar modified the milestones: September 2017, October 2017 Sep 23, 2017
@Tyriar Tyriar modified the milestones: October 2017, Backlog Oct 30, 2017
@Tyriar Tyriar modified the milestones: Backlog, December 2017/January 2018 Dec 23, 2017
@Tyriar Tyriar closed this as completed in d3a9f92 Dec 23, 2017
@roblourens roblourens added the verified Verification succeeded label Feb 1, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants