Byebug gem not recognized

I have installed byebug w/o issue but ruby will not recognize the gem in the code for Debugging Exercise 1. The require “byebug” seems to read 'byebug" as a string instead of a gem. I have attached a screen shot, note I have tried reinstalling but does not help. When I run gem exec byebug filename , byebug does work, anyone know why this might be happening?.

I don’t, but I’m having a similar issue where the debugger isn’t running when I execute my file.

Did you solve this?

Try running it in the terminal by typing byebug PATH_TO_FILE