Hi,
I’m trying out KomodoIDE 11 on Ubuntu with Ruby 2.4 managed by RVM. When I debug, I get the following error message:
After installing byebug 11 as instructed, I still get the same error message. I tried an older version of byebug (9.1) as well to no avail.
Thank you for your thoughts!
careyh
September 24, 2019, 10:36pm
2
Hi @Tim_Peti ,
My guess is that you’re not pointing Komodo at the Ruby version that you installed byebug
in. How have you configured the Ruby interpreter to use in Komodo?
Hi Carey,
Thank you for your prompt reply. My ruby was not automatically found upon Komodo install and I specified its path through settings:
Byebug is installed here:
Tim
careyh
September 25, 2019, 7:11pm
4
@Tim_Peti ,
Confirm that Ruby can load byebug
. So run ~/.rvm/rubies/ruby-2.4.0/bin/ruby -e "require 'byebug';print('found it')"
in your terminal.
I just did a simple setup with Ruby 2.4, installed byebug
and ran the debugger and it works so my guess that the issue lies in your RVM setup.
I wonder if I should let Komodo search for installed languages again as it did in the beginning. How do I re-start that?
Ok, I have it figured out. Since RVM is in charge of all the installed Ruby versions, Komodo needs to be pointed to a different file (rvm-auto-ruby). Mine can be found here:
Thank you for your input!
2 Likes
careyh
September 25, 2019, 10:06pm
8
Oh nice find! I not familiar with RVM so thanks for digging @Tim_Peti . My next guess was going to be an envvar that’s only set in your terminal…