Remote development does not run ~/.bashrc on the remote host while compiling Follow
I am trying to use remote development according to https://www.jetbrains.com/help/clion/remote-projects-support.html. However, it seems that the ~/.bashrc script on the remote host is not invoked when the compiling is running. May I know how to configure CLion or the remote host such that the remote compiling will always invoke ~/.bashrc first?
The local machine is with Ubuntu 18.04 and the remote machine is with Ubuntu 16.04. There are important environment variables in ~/.bashrc of the remote host to have the compilation successful.
Thank you in advance for the help!
Please sign in to leave a comment.
Read these: https://stackoverflow.com/questions/33357227/bash-doesnt-load-node-on-remote-ssh-command
I think It would be easier to set the env on remote host profile.
Also feel free to comment or upvote https://youtrack.jetbrains.com/issue/CPP-15976. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.