Forum: Ruby Error installing gem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
1d62a7d62093aa945e67de4119e81dfd?d=identicon&s=25 unknown (Guest)
on 2007-06-23 14:50
(Received via mailing list)
Hello everybody !

I just tried to install the "neuro"-gem. But the install process fails
with an exception:

C:\Windows\system32>gem install neuro -y
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
   ERROR: Failed to build gem native extension.

ruby extconf.rb install neuro -y
creating Makefile
E:/Ruby/lib/ruby/1.8/mkmf.rb:1102: warning: global variable `$preload'
not initialized

The command "nmake" couldn't be found.

Gem files will remain installed in
E:/Ruby/lib/ruby/gems/1.8/gems/neuro-0.4.0 for inspection.
Results logged to

Has anybody why this error occurs and how to solve it ???
Or are there other neuro-network / backpropagation extensions ?

D0338c0de4cb3c5c17300396159933d1?d=identicon&s=25 Axel Etzold (Guest)
on 2007-06-23 16:17
(Received via mailing list)
Hello Dominik,

the error you get is due to the fact that the
gem you are trying to install is building the software
from source code.
This is usually done in three steps -

configure/make/make install ...
but the Windows version of nmake is not installed on your computer.
You can install a compiler, such as MinGW :

on your system to do the compilation.

This can be useful in many cases anyway...
I haven't worked with specific backpropagation software, but
if you want to use Ruby for scientific work, some general
numerics software such as Ruby-GSL (
which is included in the one-click installer for Windows

may be helpful.

Best regards,

1d62a7d62093aa945e67de4119e81dfd?d=identicon&s=25 unknown (Guest)
on 2007-06-24 20:05
(Received via mailing list)
Thanks for the answer.
I'll have a look for it.


2007/6/23, Axel Etzold <>:
This topic is locked and can not be replied to.