Skip to content
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

atom editor not working #79

Open
mysticaltech opened this issue Nov 17, 2016 · 5 comments
Open

atom editor not working #79

mysticaltech opened this issue Nov 17, 2016 · 5 comments
Labels

Comments

@mysticaltech
Copy link

Hello,

With subl everything works well. But I can't seem to make it work with atom.

I tried putting:

EDITOR = '/usr/local/bin/atom'

in my .env file, nothing happens when clicked.

Exact same behavior when I use ~/.xrayconfig with:

:editor: '/usr/local/bin/atom'

Any ideas ?

@judewang
Copy link

I have the same issue after updating to Atom v1.12.4.

@mattbrictson
Copy link
Collaborator

Does the binary exist?

ls -ld /usr/local/bin/atom

I'm not an atom user, so I don't see why this would stop working. Perhaps the location of the atom binary recently changed?

@mysticaltech
Copy link
Author

yes.. here's the output:

lrwxr-xr-x 1 karim admin 53 Nov 18 17:31 /usr/local/bin/atom -> /Applications/Atom.app/Contents/Resources/app/atom.sh

@mattbrictson
Copy link
Collaborator

I just downloaded Atom 1.12.6 (Mac) from https://atom.io and it works fine for me. Here is what I put in ~/.xrayconfig:

---
:editor: /usr/local/bin/atom

I'm using xray-rails 0.2.0.

Are you getting a 500 error in the browser (check the network tab of the developer tools) or any messages in the Rails server output?

@mysticaltech
Copy link
Author

Hey Matt, re-downloaded atom 1.12.6 from atom.io and put :editor: /usr/local/bin/atom in ~/.xrayconfig but nothing happens when clicked, just the GET request with open?=... No 500 errors. When I leave it without specifying atom, sublime text opens perfectly.

I'm not really using it right now, so it's not a problem for me personally, i work with sublime text too.

Thanks again for this great gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants