atom-community / atom-community/atom-script

Environment doesn't load correctly when opening from Finder.

Open
#438 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.