Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Bash profile command breaks pub in Dart Editor #17127
This issue was originally filed by smerzlia...@gmail.com
It seems that the Dart Editor is accessing may bash profile config in .bash_profile
serge/.bash_profile: line 55: cd: /some/directory: No such file or directory
This comment was originally written by sme...@gmail.com
Sorry not quite accurate. here is a better process:
--- 26/02/2014 11:52:28 AM Running pub build ... ---
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
The editor shells out and calls pub build. When it does, it sets the working directory to the project. But if you have a "cd" into some directory at the end of your shell script, that then becomes the working dir and pub cannot find a pubspec in there. Is there a reason to do a cd in your bash profile?