Closed v0dro closed 6 years ago
I'll have a look this weekend, hopefully, sooner!
Ah! I think I've figured it out. Are you, by any chance, cd
ing into the spec/fixtures/no_gil
directory and then running rubex no_gil.rubex
?
No. The file is in the home directory ~/
.
Got it. #56 should fix the issue
So, I found some interesting bits when fixing this issue.
I was using pry
heavily for debugging this issue and whenever I did binding.pry
and then called Dir.pwd
it used to show me the directory from where I've called rubex no_gil.rubex
and not the directory of the file where binding.pry
was written.
This led to me scratching my head for couple of hours before understanding that inorder to have context relative to the file I've written binding.pry
I need to wrap it in Dir.chdir
Dir.chdir(File.dirname(File.dirname(__FILE__))) do
binding.pry
end
Haha good find! Thank you :)
There is a runtime error if using Rubex from the command line after installation.
Here's the error: