Comments (9)
No idea, actually. Works fine here.
from fast-stemmer.
Yeah it works fine for me, too. We've just seen about 8 or so people in the last week have this problem. Do you set a unused-command-line-argument-hard-error-in-future
flag anywhere?
from fast-stemmer.
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install fast-stemmer
Works around this issue for now.
from fast-stemmer.
Do you set a unused-command-line-argument-hard-error-in-future flag anywhere?
That's a default — EDIT: for newer clang.
https://langui.sh/2014/03/10/wunused-command-line-argument-hard-error-in-future-is-a-harsh-mistress/
from fast-stemmer.
A pitfall in your workaround: installation requires sudo for me, on OS X (see 2. below), and the option must be specified "inside" sudo (see 1.), not outside (see 3.), because sudo removes environment variables by default for security reasons:
-
Correct:
sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install fast-stemmer
-
Installation without sudo:
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory. -
This fails with the same error:
ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future" sudo gem install fast-stemmer
from fast-stemmer.
@Blaisorblade: try preserving the environment by passing the -E
option to sudo
, e.g.:
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future sudo -E gem install fast-stemmer
from fast-stemmer.
That works, as well as my solution 1.
But to clarify: my comment is for reference to other people finding this (if any), I already found a workaround. Thanks a lot anyway!
from fast-stemmer.
"try preserving the environment by passing the -E option to sudo, e.g.:"
That worked for me, thanks @lithium3141!
from fast-stemmer.
Now, you can just update to OS X 10.9.3 to fix this problem!
from fast-stemmer.
Related Issues (8)
- Gem installation failing HOT 5
- Windows 10 build fails HOT 3
- Not able to use with jruby HOT 1
- Early English Stemmer HOT 2
- Compile issue with latest ruby build 1.9.3-p392 HOT 5
- Installation error HOT 5
- Can't install through gem HOT 4
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 fast-stemmer.