I have the follwing error:
NameError (undefined local variable or method `byebug\'
Code is
def test
t = \"\"
by
It seems you need to
require 'byebug'
I was in the same situation and require failed with 'cannot load such file' error but adding to the Gemfile worked.
Make sure you haven't installed the gems with bundle install --without development
option.
If that is the case just run bundle install --with development