![]() ![]() I don't know if I messed it up or what, but if you get an error during gem install about "config.h: no such file" or similar, just copy it from "C:\Ruby\include\ruby-1.9.1\i386-mingw32\ruby\config.h" to "C:\Ruby\include\ruby-1.9.1\ruby\config.h" (adjusting paths as necessary). There was some weirdness with Ruby's "config.h" being in the wrong folder on my system. RubyInstaller Final versions 1.8.6-p398, 1.8.7-249, and 1.9. If you don't want to install it (it's not a big deal to install, but I can see why some might not want to) just ask and I'll provide working binaries here. configure make sudo make install In some cases you will need to realod bash by typing: bash Share. it requires the "devkit" that the RubyInstaller people provide. Download ruby tar from here and then run: tar -xf ruby-X.X.X.tar.gz cd ruby-X.X.X. (you get the idea ) method for installing ruby-opengl 0.60.1 in RubyInstaller 1.9.2! Just read the instructions here: and then get the zip in the next post and read its readme. I got it! I finally found the definitive, ultimate, complete. ![]() ![]() Installing the stable release version: curl -sSL bash -s stable. Download and run the RVM installation script. 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. These are maintenance releases with bug and security fixes. I've attached the output of the gem install command. This will give you a chance to understand what it is doing before installing, and allow you to feel more comfortable running it if you do so. RubyInstaller versions 3.1.2-1, 3.0.4-1, 2.7.6-1 and 2.6.10-1 are released. I don't want to install the RubyInstaller "devkit" because I already have both cygwin and MinGW installed, and I don't think I should be forced to install yet another gcc x86 tool-chain! However, if someone has instructions on how to get rubygems to use my existing MinGW/MSYS setup to compile gems, I'll perform the patching, compiling, and zipping and put the new version up here for others. As noted in the linked article, the ruby-opengl maintainers seem to have skipped town and left a lot of folks (including me) high and dry! Is there any kind soul out there (running windows and able to build gems from source) who would like to perform the patch, build the gem, and make another zip? I've tried compiling it myself, but I think there are some path issues, because ruby's "config.h" isn't being found, even though it's right there at "C:\Ruby\include\ruby-1.9.1\i386-mingw32\ruby\config.h". Well, neither this nor the official 0.60.1 win32 build works with 1.9.2, due to this problem caused by a deprecated Ruby C API macro (STR2CSTR). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |