Windows Vista에서 rdiscount ruby ​​gem을 설치하는 방법은 무엇입니까? 비스타를 가지고 있고 루비

나는 비스타를 가지고 있고 루비 보석을 설치하려고합니다 – ‘rdiscount’그리고 다음과 같은 오류가 나옵니다 … 이것에 대한 답은 무엇입니까?

$ gem install rdiscount Building native extensions. This could take a while... ERROR: Error installing rdiscount: ERROR: Failed to build gem native extension.

c:/Ruby/bin/ruby.exe extconf.rb checking for random()... no checking for srandom()... no creating Makefile

nmake 'nmake' is not recognized as an internal or external command, operable program or batch file.

Gem files will remain installed in c:/Ruby/lib/ruby/gems/1.8/gems/rdiscount-1.5.5 for inspection. Results logged to c:/Ruby/lib/ruby/gems/1.8/gems/rdiscount-1.5.5/ext/gem_make.out



답변

RDiscount는 Windows 용 쉬운 포트가 아닙니다. 대부분의 경우에도 Windows에서 사용할 수없는 POSIX 기능을 사용합니다.

최신 버전 인 BlueCloth의 사용을 권하고 싶습니다. GCC를 사용하고 필요로하는 보석을 컴파일 할 수있는 새로운 RubyInstaller 버전의 Ruby와 함께 사용하십시오.

이전에 RubyInstaller 그룹 에서이 문제를 언급했습니다 .

rubyinstaller.org와 DevKit에서 최신 설치 프로그램을 다운로드하십시오.

위키 페이지 (개발 키트)에서 설치 지침을 따르십시오.

호프가 도움이되면 참조에 대한 링크를 삽입 할 수 없습니다.


답변

RubyInstaller의 DevKit은 이제 rdiscount를 설치할 수 있습니다 :

다음은 DevKit을 설치하고이를 사용하여 rdiscount를 설치하는 방법입니다.

https://github.com/oneclick/rubyinstaller/wiki/development-kit


답변