Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gem installation failing #10

Closed
dazinator opened this issue May 28, 2015 · 5 comments
Closed

Gem installation failing #10

dazinator opened this issue May 28, 2015 · 5 comments

Comments

@dazinator
Copy link

Having issues on Windows installing this gem.

As recorded here: https://talk.jekyllrb.com/t/jekyll-error-failed-to-build-gem-native-extension/430/2

This is the problem:

C:\Users\darrell.tunnell\Source\Repos\dazinator.github.io>bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
Using RedCloth 4.2.9
Using blankslate 2.1.2.4
Using hitimes 1.2.2
Using timers 4.0.1
Using celluloid 0.16.0
Using chunky_png 1.3.4

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

C:/Ruby193/bin/ruby.exe -r ./siteconf20150528-1132-13jp7fp.rb extconf.rb
creating Makefile

make clean
Makefile:165: *** target pattern contains no `%'. Stop.

make
Makefile:165: *** target pattern contains no `%'. Stop.

make failed, exit code 2

Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/fast-stem
mer-1.0.2 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/extensions/x86-mingw32/1.9.1/fa
st-stemmer-1.0.2/gem_make.out
An error occurred while installing fast-stemmer (1.0.2), and Bundler cannot
continue.
Make sure that gem install fast-stemmer -v '1.0.2' succeeds before bundling.

Any ideas?

@romanbsd
Copy link
Owner

I don't have Windows. But if you know how to fix it, I'll be happy to merge the fix.

@dazinator
Copy link
Author

Sorry, i'm way out of my area of expertise here. I'm a .NET developer by trade. Started an OctoPress blog which is Jekyll based, and installing Jekyll lead me here as I assume this is a dependency of Jekyll? If I could help I would gladly :(

@dazinator
Copy link
Author

But.. I just found this which looks to be the same issue - maybe it will make more sense to you though: rubygems/rubygems#977

@dazinator
Copy link
Author

Ok - the solution to this on windows seems to be to downgrade ruby gems version.

gem update --system 2.3.0

I'll try that. Will close this issue as it appears to be nothing to do with your package itself but a ruby gems issue.

@esteinborn
Copy link

I can verify that downgrading ruby gem version to 2.3.0 fixes this error message in Windows environments. Thanks for the answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants