Coder Social home page Coder Social logo

Comments (12)

mszyndel avatar mszyndel commented on June 4, 2024 304

Alternative solution that has worked for me was

gem install thin -v '1.6.4' -- --with-cflags="-Wno-error=implicit-function-declaration"

This didn't require me to install XCode, just Command Line Tools

from thin.

WillSewell avatar WillSewell commented on June 4, 2024 258

If you are using bundle install, you will need to run

bundle config build.thin --with-cflags="-Wno-error=implicit-function-declaration"

from thin.

kellishaver avatar kellishaver commented on June 4, 2024 17

If you're in a situation where you can't upgrade the gem, upgrading to XCode 11.7 will fix the error above.

Note that if you've previously installed stand-alone command line tools, you'll have to switch to the ones included with XCode via sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

from thin.

hugocorbucci avatar hugocorbucci commented on June 4, 2024 11

Just followed the suggestion from @mszyndel on Monterey and it worked just fine:

 gem install thin -v '1.6.4' -- --with-cflags="-Wno-error=implicit-function-declaration"

from thin.

timohuovinen avatar timohuovinen commented on June 4, 2024 3

This also worked for me

gem install thin 1.6.4 -- --build-flags --with-cflags="-Wno-error=unused-const-variable"  

from thin.

kellishaver avatar kellishaver commented on June 4, 2024 2

Do you want to make a PR to update the README with those details @kellishaver ?

Would be happy to! I'll do this tonight.

from thin.

ZASMan avatar ZASMan commented on June 4, 2024 1

No luck with any of the solutions here for Monterey. Anyone else have this problem?

from thin.

yijia-zhan avatar yijia-zhan commented on June 4, 2024

Catalina 10.15.6 has the exact same error:

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.15.6
BuildVersion:	19G73

from thin.

yahonda avatar yahonda commented on June 4, 2024

Opened a pull request #366

from thin.

yahonda avatar yahonda commented on June 4, 2024

It should be addressed by #364.

from thin.

yahonda avatar yahonda commented on June 4, 2024

Closing because #364 has been merged to master branch.

from thin.

ioquatix avatar ioquatix commented on June 4, 2024

Do you want to make a PR to update the README with those details @kellishaver ?

from thin.

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.