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

Found error as "failed to build native extension" #43

Open
subhrajyotiw5rtc opened this issue Dec 18, 2014 · 2 comments
Open

Found error as "failed to build native extension" #43

subhrajyotiw5rtc opened this issue Dec 18, 2014 · 2 comments

Comments

@subhrajyotiw5rtc
Copy link

Hello ,i am new to ROR. i added "gem 'http_parser.rb', '~> 0.6.0'" in gemfile and hit bundle command in command prompt.it gave me the following error.Can you please help me to resolve this error.?

Error:

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

C:/Ruby193/bin/ruby.exe -r ./siteconf20141218-3932-nyliv2.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/http_pars
er.rb-0.6.0 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/extensions/x86-mingw32/1.9.1/ht
tp_parser.rb-0.6.0/gem_make.out
An error occurred while installing http_parser.rb (0.6.0), and Bundler cannot
continue.
Make sure that gem install http_parser.rb -v '0.6.0' succeeds before bundling.

@richard-buckingham
Copy link

Does anyone know whether this issue has been resolved? I'm having a similar issue.

@frbl
Copy link

frbl commented Apr 4, 2018

try installing the ruby-dev package on Debian/Ubuntu or ruby-devel on RedHat / Fedora . Does that help?

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