Comments (7)
Might be a similar issue to da4nik/geoip2#7
Try this branch https://github.com/desuwa/hive_geoip2/tree/osx
cd hive_geoip2
gem build hive_geoip2.gemspec
CC=gcc gem install hive_geoip2-0.1.2.gem
from hive_geoip2.
Thanks for the response, Desuwa.
Unfortunately that didn't work for me. Got exactly the same error as before. Any other thoughts?
from hive_geoip2.
This might be a multiarch issue. You could try building it with ARCHFLAGS="-arch x86_64"
from hive_geoip2.
Same problem unfortunately. Still going over results found on Google but not having much luck so far. Seems lots of people are suffering from this problem, all with different fixes.
from hive_geoip2.
Seems lots of people are suffering from this problem, all with different fixes.
Updating ruby or the dev tools might help.
I don't have access to a Yosemite box but on 10.9 it compiles fine with this configuration:
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
version: 6.1.1.0.1.1416017670
$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674)
from hive_geoip2.
Using Ruby 2.1.2 did get around the problem.
Interestingly, I think, the output is different when I start up rails under versions 2.0.0 and 2.1.2. Have I compiled them with different compilers by accident?
2.1.2
[2014-12-16 16:20:10] INFO WEBrick 1.3.1
[2014-12-16 16:20:10] INFO ruby 2.1.2 (2014-05-08) [x86_64-darwin13.0]
[2014-12-16 16:20:10] INFO WEBrick::HTTPServer#start: pid=36446 port=3000
2.0.0-p247
[2014-12-16 16:20:55] INFO WEBrick 1.3.1
[2014-12-16 16:20:55] INFO ruby 2.0.0 (2013-06-27) [x86_64-darwin11.4.2]
[2014-12-16 16:20:55] INFO WEBrick::HTTPServer#start: pid=36554 port=3000
from hive_geoip2.
It Just Werks™
from hive_geoip2.
Related Issues (3)
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 hive_geoip2.