Skip to content

Instantly share code, notes, and snippets.

@marian13
Last active September 4, 2023 13:05
Show Gist options
  • Save marian13/801dc2c57b698fbbed8d3147e1994f00 to your computer and use it in GitHub Desktop.
Save marian13/801dc2c57b698fbbed8d3147e1994f00 to your computer and use it in GitHub Desktop.
require "byebug" if (defined? ::Rails::Console)
(require "#{`bundle info byebug --path`.chomp}/lib/byebug.rb"; byebug) if (defined? ::Rails::Console)
(require `gem which byebug`.chomp; byebug) if (defined? ::Rails::Console)
binding.irb if (defined? ::Rails::Console)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment