Git Product home page Git Product logo

Comments (3)

juanibiapina avatar juanibiapina commented on June 7, 2024 2

For me it fails with ruby 3.0 but works with ruby 3.1 in nix (without exporting any variables or changing anything).

from byebug.

jmromer avatar jmromer commented on June 7, 2024

I worked around this by using an up-to-date C compiler:

% echo $CC $CXX


% gcc --version
# Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
# Apple clang version 12.0.5 (clang-1205.0.22.11)
# Target: x86_64-apple-darwin20.6.0
# Thread model: posix
# InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

% export CC=gcc-11 CXX=g++-11

% g++-11 --version
# g++-11 (Homebrew GCC 11.2.0) 11.2.0
# Copyright (C) 2021 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions.  There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

% gem install byebug
# Building native extensions. This could take a while...
# Generating ctags for byebug-11.1.3
# Successfully installed byebug-11.1.3
# Parsing documentation for byebug-11.1.3
# Installing ri documentation for byebug-11.1.3
# Done installing documentation for byebug after 10 seconds
# 1 gem installed

from byebug.

maxirmx avatar maxirmx commented on June 7, 2024

#825 (comment)

from byebug.

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.