This is by design as Ruby 1.8 and 1.9 offer a different API that may interfere with some RubyGems. By using the RubyInstaller, Ruby 1.8 will be installed by default to C:\Ruby, while 1.9 will be installed to C:\Ruby19. Q: Using the RubyInstaller, can I install Ruby 1.8 and 1.9 at the same time?Ī: Yes. If RbConfig::CONFIG =~ /mingw|mswin/Įnd Q: Should I install to C:\Program Files?Ī: No. Q: How should my Ruby app determine if it’s running on Windows? Locating and installing the correct versions of these missing components can be tricky RubyInstaller seeks to alleviate these difficulties and make the installation process dead-simple by providing everything you need to get started in one straightforward installation package. To compound the issue, other extensions are built-in, but lack essential bindings such as Tk and gdbm. Q: I understand the project goals, but why can’t I simply download the latest MRI binary distributions for Windows from ?Ī: The binary packages for Windows found on lack several key components, such as OpenSSL, Zlib and Readline, which results in a broken experience for users trying install these binary distributions out-of-the-box. This doesn’t mean that RubyInstaller may not work on other Windows flavors, it just means that we’ve had to focus our resources on supporting the more mainstream Windows versions. By “explicit” we mean that we accept bugs discovered on those versions, we perform testing of the installer on those versions, and we use code that supports those versions. Q: What versions of Windows does RubyInstaller currently support?Ī: Currently RubyInstaller explicitly supports (Windows XP) not working as of Ruby 2.2.2), Windows Vista, Windows 7, and Windows 8 in both 32 and 64-bit flavors. Add value to the growing community of Windows-based Ruby developers by providing a place that summarizes the hard won lessons and issues with building Ruby and Ruby C extensions natively on Windows.Provide a build environment via this project and complementary projects like rake-compiler to help developers easily build Ruby and Ruby C extensions from source code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |