atom-community / atom-community/atom-script
Environment doesn't load correctly when opening from Finder.
- Dominant language
- JavaScript
- Stars
- 730
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
Opening Atom before opening a file works fine, however opening a file from finder results in the following:
Steps to reproduce:
1. Open file using finder by either double clicking (if Atom is default "open with"), or selecting "open with" from the right click menu.
2. Run script by either selecting "Script: run" from the command palette, or pressing CMD+I.
3. **Failure:** script command cannot be found.
Examples outputs:
Kotlin:
```
bash: kotlinc: command not found
```
Ruby:
```
Rails is not currently installed on this system. To get the latest version, simply type:
$ sudo gem install rails
You can then rerun your "rails" command.
```
- OS X 10.3.3
- Atom version 0.198.0
- Script version 2.22.0
- Grammar: Kotlin, Ruby, others.
Contributor guide
Assessment
This issue has not been assessed yet.