Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
cannot load such file -- 2.6.5/ruby_prof.so #269
On upgrading ruby prof from 1.2.0 to 1.3.0, and running our application, we get the following error:
There's a ruby_prof.so in
Can I reopen this again? On upgrading to ruby 2.6.6, we're getting the same error again. It seems the ruby-prof.so file is in ruby version specific folder:
Renaming the folder to
We have just hit this problem or a variant of it upgrading to 1.4.1. We are on ruby ruby 2.6.6p146 (2020-03-31 revision 67876) [x64-mingw32].
Following the upgrade to 1.4.1 under \lib\ruby\gems\2.6.0\gems\ruby-prof-1.4.1-x64-mingw32\lib we only have a 2.7 directory with a ruby_prof.so in it there is no 2.6 directory.
When running rake we then see
Yeah, now that 2.7 has been out 5 months I just pre-built a library for 2.7 (I don't have Ruby 2.6.* installed anymore).
If you install the gem using --platform ruby then the appropriate version of the library will be built. ruby-prof doesn't have any dependencies except Ruby itself, so assuming you have devkit on mingw64 it should work fine.
Hope that works - if not let me know.