Comments (4)
@mehagar for your case, greater than ruby 2.2 is required:
https://github.com/tmm1/stackprof#requirements
from stackprof.
Seeing the same thing trying to install from ruby 2.1.10 as well.
from stackprof.
@MathieuDerelle Sorry for the delay in my response. I decided to try reproducing this myself, but wasn't able to, but possibly some of the difficulties I had of trying to get Ruby 2.2 installed on a newer Mac might shed some light as to what the issue on your end might be.
To start, I had a couple failed attempts trying to get OpenSSL
to work with Ruby properly. Turns out it was something as described here:
However, the steps suggested later in the post didn't work with the current state of Homebrew
since they have deprecated [email protected]
, which Ruby needs:
rbenv/ruby-build#1353
https://github.com/rbenv/homebrew-tap
(Note: I currently use ruby-install
, so I had to install that tap, but then run it a slightly different way then was suggested: ruby-install ruby-2.2.9 -- --with-openssl-dir=$(brew --prefix [email protected])
)
That all said, none of this was an issue that you described, but while looking through said issues, it also seems like particular versions of clang
might have issues with ruby installations:
rbenv/ruby-build#1353 (comment)
Completely guessing here, but it is possible that you installed ruby on a previous version of clang
, and then upgraded and are now running into compatibility issues when trying to compile the Stackprof
C extension.
Hope this helps,
-Nick
from stackprof.
Indeed, there are now problems with openssl when installing ruby < 2.4
Using rvm
, the command for me was rvm install 2.2.9 --with-openssl-dir='/usr/local/opt/[email protected]'
I had some issues with Command Line Tools recently.
Now that its fixed, I'll try again to install this gem and come back to you.
from stackprof.
Related Issues (20)
- Using wall-clock profiling on macOS makes Ruby thread scheduling starve background threads HOT 4
- TruffleRuby support HOT 4
- Stackprof raises NameError when wrapped in Rails environment conditional HOT 3
- `test_gc` fails on (32-bit, hardfloat, QEMU-emulated) arm HOT 1
- Incompatible with YJIT 3.2.0 HOT 1
- Problem with Ruby 2.7.6 and version 0.2.20 HOT 6
- Error installing with Ruby 3.1 HOT 3
- Segmentation fault on Ruby 2.7.6p219 HOT 4
- Possibility to filter certain files or classes?
- flaky test failure with ruby3.1
- Test failures on 32bit arch
- Flamegraph way too short in `wall` mode HOT 5
- Support Gecko format? HOT 2
- Weird timestamp deltas with puma HOT 2
- bug: "missed_samples" integer overflow possible HOT 1
- bug: possible state leak of `buffer_count` state between stackprof invocations HOT 2
- C99 error while compiling v0.2.25 HOT 1
- Add marker metadata feature HOT 1
- stackprof fails to build native extensions on ubuntu 22.04 and ruby 3.2.2 HOT 1
- "lines" attribute format?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stackprof.