toto
toto copied to clipboard
Failed to install Toto gem under Windows XP Professional SP3
Could some one help?
I tried the installation in both remote and local way, it kept throwing out error as below:
D:\02_RoR\ruby>gem install toto -v 0.4.6 Building native extensions. This could take a while... ERROR: Error installing toto: ERROR: Failed to build gem native extension.
D:/02_RoR/ruby/bin/ruby.exe extconf.rb checking for random()... no checking for srandom()... no checking for rand()... no checking for srand()... 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 D:/02_RoR/ruby/lib/ruby/gems/1.8/gems/rdiscou nt-1.6.5 for inspection. Results logged to D:/02_RoR/ruby/lib/ruby/gems/1.8/gems/rdiscount-1.6.5/ext/gem_ make.out
Is it an incompatible issue? Is there any windows-compatible verson of Toto?
Thanks a lot!
I remember I install toto failed too. But do you ready need it? You can install Git, and then use command: git clone git://github.com/cloudhead/dorothy.git mytoto
if you want to deploy toto blog system, see my blog: http://superman-jayyang.heroku.com/2010/07/02/how-to-deploy-ruby-blog-system/
I did directly try dorothy and deploy that to heroku... but I guess without toto gem, we could NOT fully utilize the feature of toto?
I'm having the same problem when installing on Windows 7. While I'm still able to push via git to Heroku, it means I can't run the blog locally to work on tweaks or use the convenience rake tasks to generate new messages.
To get around this one Windows, just pull down the Development Kit from http://rubyinstaller.org/downloads/ (I used DevKit-3.4.5-20100819-1535-sfx.exe). You can extract that to your ruby install directory. Once you've done that, you'll need to add the mingw bin directory to your path.
The problem is that the "building native extensions" step can't find the build tools, but they live under the DevKit.
@cloudhead, I believe this issue can be safely closed - drmohundro gave excelent solution.