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

Issue while installing (make "DESTDIR=") #628

Closed
mittalyashu opened this issue Aug 19, 2017 · 3 comments
Closed

Issue while installing (make "DESTDIR=") #628

mittalyashu opened this issue Aug 19, 2017 · 3 comments
Labels

Comments

@mittalyashu
Copy link

C:\Users\YASHU\Desktop\Ruby on Rails\blog>gem install redcarpet-3.4.0.gem
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing redcarpet-3.4.0.gem:
        ERROR: Failed to build gem native extension.

    C:/Ruby22/bin/ruby.exe -r ./siteconf20170820-8428-dquugq.rb extconf.rb
creating Makefile

make "DESTDIR=" clean
'make' is not recognized as an internal or external command,
operable program or batch file.

make "DESTDIR="
'make' is not recognized as an internal or external command,
operable program or batch file.

make failed, exit code 1

Gem files will remain installed in C:/Ruby22/lib/ruby/gems/2.2.0/gems/redcarpet-3.4.0 for inspection.
Results logged to C:/Ruby22/lib/ruby/gems/2.2.0/extensions/x86-mingw32/2.2.0/redcarpet-3.4.0/gem_make.out
@yogeshkotadiya
Copy link

Try Installing RubyDev Kit
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

@robin850
Copy link
Collaborator

Hi @mittalyashu,

Yes, @yogeshkotadiya is right. Native extensions are not supported "out of the box" on Windows platforms, you will have to install the Ruby DevKit to be able to install Redcarpet on this OS.

Thanks for reporting anyway !

@passionatedevops
Copy link

I was facing same kind of error during rails installation in windows >

Solution :

Download Ruby+Devkit exe file
Install Ruby+Devkit

> ruby -v 
> gem -v
> gem install rails 
> rails -v

All worked !!!!

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

No branches or pull requests

4 participants