You can remove all byebug tag from source code using rake task:
rails byebug:clean
Default path for clean is [app/*]. Script recursively search byebug tag in files and delete whole line.
Task default create backup files. Get help for more options:
rails byebug:clean -- -h
Add this line to your application's Gemfile:
gem 'byebug-cleaner', github: "IlyasValiullov/byebug-cleaner"
And then execute:
$ bundle install
The gem is available as open source under the terms of the MIT License.