Giter Site home page Giter Site logo

Comments (7)

edbond avatar edbond commented on August 10, 2024 3

After reinstalling jemalloc gem installed:

▶ brew reinstall jemalloc
==> Reinstalling jemalloc
==> Downloading https://homebrew.bintray.com/bottles/jemalloc-5.2.1_1.catalina.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/b1/b1b211e5bead798c236d478dd74310a97a7b59470f607b608c07222648b08bf5?__gda__=exp=1587473617~hmac=2fe57
######################################################################## 100.0%
==> Pouring jemalloc-5.2.1_1.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/jemalloc/5.2.1_1: 16 files, 2MB

▶ gem install unf_ext -v '0.0.7.6'
Building native extensions. This could take a while...
Successfully installed unf_ext-0.0.7.6
Parsing documentation for unf_ext-0.0.7.6
Installing ri documentation for unf_ext-0.0.7.6
Done installing documentation for unf_ext after 1 seconds
1 gem installed

from ruby-unf_ext.

csuhta avatar csuhta commented on August 10, 2024 1

I was able to fix this on MacOS 10.15.4, but I'm not sure what did it:

  • Reinstall MacOS Developer Tools
  • Re-install Jemalloc and Ruby (using homebrew and ruby-install)
  • Gem bundled correctly after that

from ruby-unf_ext.

jakubgs avatar jakubgs commented on August 10, 2024

Seeing the same issue. No clue what this is about.

from ruby-unf_ext.

fkapsahili avatar fkapsahili commented on August 10, 2024

If anyone should have a similar problem:
I still got the same error despite these steps. It just didn't work when the Command Tools were installed - the following steps, one after the other, were a workaround for me:

sudo rm -rf /Library/Developer/CommandLineTools
gem install unf_ext -v 0.0.7.7
sudo xcode-select --install

from ruby-unf_ext.

marianodominguez avatar marianodominguez commented on August 10, 2024

Is there a solution for Linux? I installed all development tools and c++ devel libs, build is failing with 2.7
Centos 7

error.txt

from ruby-unf_ext.

mariano-dm avatar mariano-dm commented on August 10, 2024

It seems this combination worked in 2.7

  • gem: erubis
    version: "2.7.0"
    • gem: unf_ext
      version: "0.0.7.5"

from ruby-unf_ext.

bcouetil avatar bcouetil commented on August 10, 2024

If you come here in 2023, like me, DON'T UNINSTALL anything related to XCode. No need.

There are great chance it is because your system Ruby, which is old, is loaded before your Homebrew Ruby.

Just follow this guide to have a ruby command using your latest Ruby installation.

from ruby-unf_ext.

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.