sublime_debugger icon indicating copy to clipboard operation
sublime_debugger copied to clipboard

Ruby version not supported (ruby 2.2.3p173)

Open aldrienht opened this issue 9 years ago • 5 comments

Currently using Ruby version 2.2.3 and Rails 4.2.0

aldrienht avatar Dec 02 '15 01:12 aldrienht

Same problem here (Ruby 2.2)

choallin avatar Dec 28 '15 14:12 choallin

Hello,

Managed to fix the issue this way: Add your ruby version in sublime text package user preference file (Example for me, using ruby 2.3.1) : { "supported_ruby_versions": ["2.1.0", "2.0.0", "1.9.3", "2.3.1"] } Then, edit sublime_debug_require.rb, and add the following line at line 20 (The line after the first require) require current_version.gem_name+"/core" if current_version.gem_name == "byebug"

And voila !

Hope this helps

Cheers,

Mathias

MathiasBayon avatar Aug 10 '16 13:08 MathiasBayon

Hello @MathiasBayon !

I'm also in the ruby 2.3.1 and still getting "Ruby version: is not supported" on the output debugger.

What i did wrong?

image

Thks!

BrusGarka avatar Sep 16 '16 15:09 BrusGarka

Same for me, I did everything like it is described by @MathiasBayon but still getting the error. Does anybody have any ideas?

dkali avatar Nov 11 '16 16:11 dkali

I have the same "Ruby version: is not supported" error (ruby 2.3.1, OS X), when trying to run rspec (Shift-F6). Also applied changes like @MathiasBayon. While looking into it, I noticed that the setting "debug_logs": true, is not used in ruby_executor.sh (the second parameter to the script is False, no matter what is set in user or default settings). I had to stop debugging here. But maybe it's some problem with reading the settings?

KjellMorgenstern avatar Nov 29 '16 13:11 KjellMorgenstern