kwerle / ide-ruby

Atom package used to integrate https://github.com/kwerle/ruby_language_server with Atom. Development happens on the develop branch. Production is master.
23 stars 6 forks source link

Sadness if Atom launches before docker init's (OSX) #7

Closed kwerle closed 6 years ago

kwerle commented 6 years ago

Specifically, it fails to launch and also fails to alert.

Can probably reproduce by killing docker and reloading.

kwerle commented 6 years ago

Sigh. At least we now have an explanation and workaround - even if it's lame.

talsafran commented 6 years ago

Hey @kwerle,

First of all, awesome repo! IDE support for Ruby is an amazing goal πŸŽ‰

I'm running into the issue you describe here (screenshot), but am not sure how to make it go away and get the thing working (I don't think any IDE-ish features work for me).

What did I miss? Where/when do I hit CMD-CTRL-ALT-L? I tried it in atom, but nothing happened. Sorry if this is obvious πŸ˜„

If this helps, I don't seem to have a docker process running, but do have it installed:

18:17 $ ps aux | grep docker
talsafran         3437   0.0  0.0  4267768    888 s001  S+    6:17PM   0:00.00 grep docker

18:17 $ which docker
/usr/local/bin/docker
kwerle commented 6 years ago

It seems like you have not [correctly] installed docker. Grab the latest from

https://store.docker.com/editions/community/docker-ce-desktop-mac

Fire it up, then restart Atom.

talsafran commented 6 years ago

πŸŽ‰ – that worked!

Thank you! And sorry for hijacking your issue πŸ˜„

kwerle commented 6 years ago

Nope - that's helpful feedback.

Note to self: suggest users who get this error try running the docker command with all params from CLI to test their docker install.