I never had to use notebooks outside ouf a rails context. So I rely on gems installed by Bundler.
The kernel is launched with a ruby script passed as argument which loads all the gems via Bundler.
Maybe @cecilitse has more experience with this. She had a good thread about using Jupyter notebook with Ruby and did a very nice lightning talk about it at @rubydayit