Comments (12)
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.
If you are using bundle install
, you will need to run
bundle config build.thin --with-cflags="-Wno-error=implicit-function-declaration"
from thin.
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.
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.
This also worked for me
gem install thin 1.6.4 -- --build-flags --with-cflags="-Wno-error=unused-const-variable"
from thin.
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.
No luck with any of the solutions here for Monterey. Anyone else have this problem?
from thin.
Catalina 10.15.6 has the exact same error:
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.6
BuildVersion: 19G73
from thin.
Opened a pull request #366
from thin.
It should be addressed by #364.
from thin.
Closing because #364 has been merged to master branch.
from thin.
Do you want to make a PR to update the README with those details @kellishaver ?
from thin.
Related Issues (20)
- Flaky specs HOT 1
- Fix mac install errors or document in readme HOT 2
- Running thin behind a pipe doesn't show messages HOT 4
- Building native extensions fails HOT 4
- Homepage in gemspec is not accessible HOT 2
- Include rack handler test HOT 1
- When the version 1.8.0 or 2.0.0 is released? HOT 8
- rspec doesn't run after cloning the repository HOT 1
- Not working on Debian / Linux Mint - eventmachine error HOT 1
- Multiple SSL certificates HOT 3
- 0712d603a31d97b9fa8a0260da400da2e4217d60
- Issue
- Support rack 3.0.0 HOT 1
- Support Mac M1 HOT 3
- Consider new release for ruby 3.2 support HOT 5
- Uninitialized constant Thin::Server::Fixnum (NameError) with ruby-3.2.2 HOT 2
- Improper handling of requests containing both `Content-Length` and `Transfer-Encoding` headers HOT 2
- why WEBrick is faster as dev server compared to thin as dev server ?
- How to provide Thin with the Rails master.key? HOT 1
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 thin.