-
Notifications
You must be signed in to change notification settings - Fork 9
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
.bash-profile #23
Comments
@maduhaime I am pretty sure this is the same as issue #22 Also haven't had much time to put into this lately and I have quite a few changes that I need to finish up here soon and get committed. I'll try to touch base with you here sometime next week and give you a quick status update on where I stand with this. |
Yes John, it is the same issue. This is a clue. Find with the help of Google... Excerpt from man bash:
It is probably related to the way Node implement child_process exec. |
Thanks for the help with the research. That will be helpful. Hopefully I'll have a chance here soon to give it a try. Thanks again. |
Node.js is the next things on my learning list... Maybe one day I'll come back with a pull request! |
For *unix: May want to try to spawn (rather than exec) an actual terminal and just pipe all the input in there (and deal with the output streams similar as you do atm). Not sure that makes sense but might be worth looking into. |
Sorry everyone, I was on vacation for 2 weeks and then came back to a pile of work at my day job. Hoping to get a new release out this weekend. Have already been looking into making the switch to use spawn instead of exec. |
@maduhaime . The shell should now be picking up your bash profile. I do not have a mac to test this but if you would verify this is fix is v0.0.7 I would appreciate it and then I can mark this closed. |
I finally have this working. I have verified this on an installation of Ubuntu 14 x86. All worked worked great. There may be an issue with Linux only returning LF for EOL. If so, please create a new issue for this. Should you have any issues, please let me know and I'll see if I can address them. |
Not working under Mac with 0.7... |
What shell does the Mac use? I'm making the assumption for this push that the shell is located at /bin/sh .. in future versions I'm going to be giving you the ability to specify the shell to use. |
What version of the extension are you running? I just release v0.0.9 which is the version that addresses this bug. Hopefully you're running on v0.0.8 and need to update. |
I'm now with 0.0.9. Same thing. This is what I found : (posted in 2010) Sorry. Cannot help you tonight. Must help my wife! |
Totally understand. I'm going to have to bring up a Hackintosh for testing. That is how I ended up solving the Linux side of things. This working blind isn't any good. Thanks for the links, I'll be looking into it as soon as I can |
http://unix.stackexchange.com/questions/43499/difference-between-echo-shell-and-which-bash On My Mac : "echo $SHELL" output /bin/bash |
Thanks for your time! |
@maduhaime I believe I have a fix but before push it out to the masses I would like to do some testing with it. Would you be interested in helping test this fix? If so, let me know. Thanks ahead of time. |
@maduhaime I went ahead and created release v0.0.10 anyway since I felt the added feature would be appreciated by the *nix users. |
@maduhaime Is this issue still open? Does the latest version giving you the ability to specify the shell to use resolve you issue? |
I was not home yesterday. I will test it today!
|
@maduhaime Have an update on this yet? |
Yes. brackets.json configs worked perfectly. But I'm still unable to load bash_profile. even with source ~/.bash_profile Marc-Antoine Duhaime
|
Went attempting to load your bash_profile do you receive a |
Since the last posted question doesn't have an answer and I'm fighting with the same problem I decided to contribute some observations. Manually sourcing the file does not produce errors. To try and get further I decided to manually export a variable to see if it persisted. This is what the environment looks like after opening the shell: SHELL=/bin/bash What I did: export PKG_CONFIG_PATH=/usr/X11/lib/pkgconfig I was expecting to see this variable in the environment but executing env gave me back the same as above. Afterwards I double checked the settings for bash and the shell that was running was in fact bash using the pid. Interesting problem. I would love to get this resolved as it would speed up my work since I could run tests from within the editor. |
I'm experiencing this exact same problem, I can run my local/bin commands manually - but that's cumbersome. I can't seem to add any new paths to the $PATH environment. I'll keep working on this, but I thought I'd let everyone know it doesn't work no matter which shell you're using "sh" or "bash." |
Same problem here with MacOS X Yosemite. Used the shell under Windows very often and was very satisfied with it. But under MacOS it is not usable, since the correct paths are not loaded from ~/.profile |
Was having the same issue on OS X but was able to fix it... What I did:
|
Same as esko -- this works fine now. |
Same as esko -- and thanks! |
I'm trying to use shell to run ruby and rails command (using rbenv on Mac) but the .bash_profile is probably not loaded when your plugin is activated.
I have tried to loaded manually using "source ~/.bash_profile" but it's not working. Any clue on how to make it work?
Thanks
The text was updated successfully, but these errors were encountered: