看了 SublimeCodeIntel(https://github.com/SublimeCodeIntel/SublimeCodeIntel) 的配置介绍,配置了好久,一直不成功:
请问哪位配置成功过吗?介绍一下,谢谢!
没用过,猜测 如果是 RVM /home/your_name/.rvm/wrappers/default/ruby;
/home/your_name/.rvm/wrappers/default/ruby;
#1 楼 @flowerwrong 我尝试 which ruby 输出 ·/Users/vincentjiang/.rvm/rubies/ruby-2.0.0-p576/bin/ruby· 然后把路径填进“ruby”中,还是不成功。
which ruby
·/Users/vincentjiang/.rvm/rubies/ruby-2.0.0-p576/bin/ruby·
"Ruby": { "ruby": "/Users/vincentjiang/.rvm/rubies/ruby-2.0.0-p576/bin/ruby", "rubyExtraPaths": [] }
参考 http://hyperneetprogrammer.hatenablog.com/entry/2014/09/14/001053 maybe help
"Ruby": { "ruby": "~/.rvm/rubies/default", "rubyExtraPaths": ["~/.rvm/gems/ruby-2.1.1"] }
#3 楼 @flowerwrong
"Ruby": { "ruby": "~/.rvm/rubies/default", "rubyExtraPaths": ["~/.rvm/gems/ruby-2.1.4"] }
ubuntu 14.04 work for me
#4 楼 @flowerwrong 我这边感觉还是不行,哎~~~
#5 楼 @jxs471494539
"Ruby": { "ruby": "~/.rvm/bin/rvm-auto-ruby", "codeintel_scan_extra_dir": ["~/.rvm/gems/ruby-2.1.3"], "codeintel_scan_files_in_project": true }
google 一圈,来贴答案 具体看这里
#6 楼 @etnl 现在不用 sublime 了,已经用 vim 很顺手,但还是谢谢你!