sublime_debugger
sublime_debugger copied to clipboard
Ruby version not supported (ruby 2.2.3p173)
Currently using Ruby version 2.2.3 and Rails 4.2.0
Same problem here (Ruby 2.2)
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
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?
Thks!
Same for me, I did everything like it is described by @MathiasBayon but still getting the error. Does anybody have any ideas?
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?