Comments (3)
I've just had this issue (I'm on OSX 10.8 however) It's an issue trying to compile libmagic with the standard Xcode provided GCC.
I fixed this by
brew install apple-gcc42
CC=/usr/local/bin/gcc42 bundle install
Hope that helps.
from charlock_holmes.
Just tried @eightbitraptor suggestion and it worked perfectly, but you may need to add one further step before it'll work (I certainly had to)
When trying the above, homebrew
told me the formula couldn't be find, but after some digging I was able to get it going with the following
brew tap --repair homebrew/dupes
Then you can run the code as suggested and it should work
from charlock_holmes.
I've removed the dependency on libmagic and will be pushing a new version to rubygems soon which should fix this issue :)
from charlock_holmes.
Related Issues (20)
- Question: Using CharlockHolmes in CSV.foreach HOT 2
- It would really nice if you add release notes to every version.
- Installation breaks on Mojave HOT 4
- Doesn't detect UTF-16 files without BOM.
- Install error on Windows 10 64x [ruby 2.3.1p112] [x64-mingw32]
- An error occurred while installing charlock_holmes (0.7.6), and Bundler cannot continue. Make sure that `gem install charlock_holmes -v '0.7.6' --source 'http://rubygems.org/'` succeeds before bundling. HOT 1
- Makefile:235: recipe for target 'transliterator.o' failed (Debian 8 (jessie))
- Makefile:235: recipe for target 'transliterator.o' failed (Debian 8 (jessie)) HOT 2
- macOS 10.14 make: *** [transliterator.o] Error HOT 7
- Can't install gem HOT 1
- Update to latest icu4c? HOT 1
- Installing charlock_holmes 0.7.6 on Oracle Linux fails HOT 1
- charlock_holmes no longer builds on CentOS v6 (g++ 4.4.7)
- Upgrade Docker Ruby image from stretch to buster fails with libicudata HOT 2
- macOS icu4c is too new HOT 2
- LoadError libicudata.64.dylib with 0.7.7 HOT 3
- Best practice for large files?
- Small Strings
- Uncaught exception: libicudata.so.72: cannot open shared object file: No such file or directory HOT 12
- undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30` 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 charlock_holmes.