# Racc 1.5.2 Windows Server 2019 installing error

**URL:** <https://www.ruby-forum.com/t/racc-1-5-2-windows-server-2019-installing-error/261872>\
**Category:** Deployment\
**Created:** [September 23, 2021, 4:07pm UTC](https://www.ruby-forum.com/t/racc-1-5-2-windows-server-2019-installing-error/261872 "2021-09-23T16:07:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![KdaCMC](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/a698b9/32.png) [@KdaCMC](https://www.ruby-forum.com/u/KdaCMC)\
**Post date:** [September 23, 2021, 4:07pm UTC](https://www.ruby-forum.com/t/racc-1-5-2-windows-server-2019-installing-error/261872/1 "2021-09-23T16:07:12Z")

</div>

Hello,  
I try to install RedMine on my Windows Server 2019, and I started installing required gems, and got error, see later. Please, help me. Thanks in advance.

```
Installing racc 1.5.2 with native extensions

```

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

current directory:  
C:/Ruby27/lib/ruby/gems/2.7.0/gems/racc-1.5.2/ext/racc/cparse  
C:/Ruby27/bin/ruby.exe -I C:/Ruby27/lib/ruby/2.7.0 -r  
./siteconf20210923-7736-1t2bahw.rb extconf.rb  
checking for rb\_ary\_subseq()… yes  
creating Makefile

current directory: C:/Ruby27/lib/ruby/gems/2.7.0/gems/racc-1.5.2/ext/racc/cparse  
make “DESTDIR=” clean  
current directory: C:/Ruby27/lib/ruby/gems/2.7.0/gems/racc-1.5.2/ext/racc/cparse  
make “DESTDIR=”  
make failedNo such file or directory - make “DESTDIR=”

Gem files will remain installed in C:/Ruby27/lib/ruby/gems/2.7.0/gems/racc-1.5.2  
for inspection.  
Results logged to  
C:/Ruby27/lib/ruby/gems/2.7.0/extensions/x86-mingw32/2.7.0/racc-1.5.2/gem\_make.out

An error occurred while installing racc (1.5.2), and Bundler cannot continue.  
Make sure that `gem install racc -v '1.5.2' --source 'https://rubygems.org/'`  
succeeds before bundling.

In Gemfile:  
rails was resolved to 5.2.6, which depends on  
actioncable was resolved to 5.2.6, which depends on  
actionpack was resolved to 5.2.6, which depends on  
actionview was resolved to 5.2.6, which depends on  
rails-dom-testing was resolved to 2.0.3, which depends on  
nokogiri was resolved to 1.11.7, which depends on  
racc

---

<div class="post-metadata">

**Author:** ![SouravGoswami](https://www.ruby-forum.com/user_avatar/www.ruby-forum.com/souravgoswami/32/2543_2.png) [@SouravGoswami](https://www.ruby-forum.com/u/SouravGoswami)\
**Post date:** [September 24, 2021, 10:59pm UTC](https://www.ruby-forum.com/t/racc-1-5-2-windows-server-2019-installing-error/261872/2 "2021-09-24T22:59:57Z")

</div>

It’s hard to know why the build failed unless you take a look at the `gem_make.out` file.

> [@KdaCMC](#):
>
> Results logged to  
> C:/Ruby27/lib/ruby/gems/2.7.0/extensions/x86-mingw32/2.7.0/racc-1.5.2/gem\_make.out

Can you tell us the content of the file?

---

<div class="post-metadata">

**Author:** ![KdaCMC](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/a698b9/32.png) [@KdaCMC](https://www.ruby-forum.com/u/KdaCMC)\
**Post date:** [September 26, 2021, 6:27pm UTC](https://www.ruby-forum.com/t/racc-1-5-2-windows-server-2019-installing-error/261872/3 "2021-09-26T18:27:44Z")

</div>

Thanks for your reply. Here is the content of this file:

current directory: C:/Ruby27/lib/ruby/gems/2.7.0/gems/racc-1.5.2/ext/racc/cparse  
C:/Ruby27/bin/ruby.exe -I C:/Ruby27/lib/ruby/2.7.0 -r ./siteconf20210923-3964-1j0uygq.rb extconf.rb  
checking for rb\_ary\_subseq()… yes  
creating Makefile

current directory: C:/Ruby27/lib/ruby/gems/2.7.0/gems/racc-1.5.2/ext/racc/cparse  
make “DESTDIR=” clean  
current directory: C:/Ruby27/lib/ruby/gems/2.7.0/gems/racc-1.5.2/ext/racc/cparse  
make “DESTDIR=”  
make failedNo such file or directory - make “DESTDIR=”

---

<div class="post-metadata">

**Author:** ![SouravGoswami](https://www.ruby-forum.com/user_avatar/www.ruby-forum.com/souravgoswami/32/2543_2.png) [@SouravGoswami](https://www.ruby-forum.com/u/SouravGoswami)\
**Post date:** [September 27, 2021, 8:16am UTC](https://www.ruby-forum.com/t/racc-1-5-2-windows-server-2019-installing-error/261872/4 "2021-09-27T08:16:22Z")

</div>

There are few similar problems like this:

> <https://github.com/vmg/redcarpet/issues/628>
>
> \`\`\`
> 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
> \`\`\`

I’m not much familiar with windows environment, but the issue is related. You must install Ruby DevKit if you want to install gems like these. Ruby DevKit can be found here:

> **[Downloads](https://rubyinstaller.org/downloads/)**
>
> The easy way to install Ruby on Windows This is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important...

---

<div class="post-metadata">

**Author:** ![KdaCMC](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/a698b9/32.png) [@KdaCMC](https://www.ruby-forum.com/u/KdaCMC)\
**Post date:** [September 27, 2021, 11:10am UTC](https://www.ruby-forum.com/t/racc-1-5-2-windows-server-2019-installing-error/261872/5 "2021-09-27T11:10:09Z")

</div>

SouravGoswami, thanks, it works!

Best regards,  
KdaCMC

---

<div class="post-metadata">

**Author:** ![denizcan](https://www.ruby-forum.com/user_avatar/www.ruby-forum.com/denizcan/32/3362_2.png) [@denizcan](https://www.ruby-forum.com/u/denizcan)\
**Post date:** [May 24, 2024, 10:15am UTC](https://www.ruby-forum.com/t/racc-1-5-2-windows-server-2019-installing-error/261872/7 "2024-05-24T10:15:06Z")

</div>

Thanks @SouravGoswami Your all links are really helpful for me.
