I want to get the path of the ruby executable that will run in bundle exec

Asked 2 years ago, Updated 2 years ago, 89 views

I want to pry on the specified line without binding.pry

^In this question, I learned that if you want to debug the third party's Gem, you should use byebug.Now, I would like to give the byebug argument an executable of ruby to be executed with the bundle exec command.

Therefore, I wanted to get the ruby executable that I would run with this bundle exec command.

I would like to get the executable file path for the command that I will execute with the bundle exec command.Is there a way to do this?

ruby bundler

2022-09-30 19:50

1 Answers

This is my work, but do you think I can satisfy what I want to do here?
https://rubygems.org/gems/process-path
https://github.com/yagihiro/process-path


2022-09-30 19:50

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.