ianhattendorf / autocomplete-ruby

Provides intelligent code completion for Ruby in the Atom editor. Requires RSense.
MIT License
51 stars 9 forks source link

rsense path error #26

Closed maasha closed 7 years ago

maasha commented 7 years ago

I get this error on my Mac:

autocomplete-ruby: exec error: Error: Command failed: ~/.gem/ruby/2.3.0/bin/rsense start --port 47367 --path /Users/maasha/scratch/simple-todos
/bin/sh: /Users/maasha/.gem/ruby/2.3.0/bin/rsense: No such file or directory

I installed rsense with gem install rsense and it is located here:

$ which rsense
/usr/local/bin/rsense
ianhattendorf commented 7 years ago

I just released v0.2.5 which should be able to detect the rsense path in more scenarios (thanks to #19). If it still doesn't work after this, you can manually set the rsense path in the plugin config (see readme).

maasha commented 7 years ago

Installed the upgrade and restarted Atom. Issues gone, yay! Good job!

ianhattendorf commented 7 years ago

Good to hear! Credit to @chenasraf