Giter Club home page Giter Club logo

Comments (4)

NickLaMuro avatar NickLaMuro commented on June 24, 2024 1

@mehagar for your case, greater than ruby 2.2 is required:

https://github.com/tmm1/stackprof#requirements

from stackprof.

mehagar avatar mehagar commented on June 24, 2024

Seeing the same thing trying to install from ruby 2.1.10 as well.

from stackprof.

NickLaMuro avatar NickLaMuro commented on June 24, 2024

@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:

rbenv/ruby-build#1277

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.

MathieuDerelle avatar MathieuDerelle commented on June 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.