Windows 7 64位计算机上的Ruby安装程序

时间:2022-05-15 02:50:51

Can anyone please help me where to find Ruby 64-bit installer to be installed on Windows 7 or can I install 32-bit ruby 1.8.6 or 1.9 installers(only one) on a 64-bit machine without any problem?. Any recommendations or links for documentation would be appreciated. Thanks in advance.

任何人都可以帮我找到在Windows 7上安装Ruby 64位安装程序的位置,还是可以在64位计算机上安装32位ruby 1.8.6或1.9安装程序(只有一个)而没有任何问题?任何建议或文档链接将不胜感激。提前致谢。

4 个解决方案

#1


2  

I have Windows 7 for quite a while now. Standard 32-bit Ruby 1.8.6 one-click installer works. I can both run Rails applications and "even" debug the code in NetBeans. Downloaded from here

我现在已经有很长一段时间了。标准的32位Ruby 1.8.6一键安装程序可以正常工作。我既可以运行Rails应用程序,也可以“均匀”调试NetBeans中的代码。从这里下载

#2


11  

32bits Ruby can be installed in 64bits Windows versions thanks to WOW64 (Windows on Windows functionality)

借助WOW64(Windows on Windows功能),可以在64位Windows版本中安装32位Ruby

There is no Installer for 64bits Ruby, and you will find a lot of complications in that front.

对于64位Ruby没有安装程序,你会发现很多复杂的问题。

I recommend you use the upcoming RubyInstallers from official RubyInstaller website:

我建议您使用官方RubyInstaller网站上即将推出的RubyInstallers:

http://rubyinstaller.org/

(Will be redirected to RubyForge, locate Preview 2 installers there). Both 1.8.6 and 1.9.1 are available.

(将被重定向到RubyForge,在那里找到预览2安装程序)。 1.8.6和1.9.1都可用。

Also, if you want more step to step instructions, please take a look to some tutorials we have collected here:

此外,如果您需要更多步骤说明,请查看我们在此处收集的一些教程:

http://wiki.github.com/oneclick/rubyinstaller/tutorials

Hope that helps.

希望有所帮助。

#3


3  

As of March 2013, the RubyInstaller team produce a 64 bit Windows build of Ruby 2.0 . My thanks to them.

截至2013年3月,RubyInstaller团队生成了64位Windows 2.0版本的Ruby 2.0。我要感谢他们。

http://rubyinstaller.org/downloads/

But all 32 bit software works normally on Windows 7 anyway - that's worth knowing.

但无论如何,所有32位软件在Windows 7上都能正常工作 - 这是值得了解的。

#4


1  

The Ruby team is still working on a 64-bit compiled version of Ruby for Windows. The 32-bit version works provided you do not need win32ole to work consistently. You will get a "Class Not Registered" error in some cases trying to instantiate a 64-bit OLE interface.

Ruby团队仍在研究用于Windows的64位编译版Ruby。如果您不需要win32ole一致地工作,32位版本可以工作。在尝试实例化64位OLE接口的某些情况下,您将收到“未注册类”错误。

Latest I have seen on the ruby installers list is: http://groups.google.com/group/rubyinstaller/browse_thread/thread/b628af0efaaae5bd

我在ruby安装程序列表上看到的最新内容是:http://groups.google.com/group/rubyinstaller/browse_thread/thread/b628af0efaaae5bd

This impacts some gems like virtualbox: http://github.com/mitchellh/virtualbox/issues#issue/37

这会影响像virtualbox这样的宝石:http://github.com/mitchellh/virtualbox/issues#issue/37

#1


2  

I have Windows 7 for quite a while now. Standard 32-bit Ruby 1.8.6 one-click installer works. I can both run Rails applications and "even" debug the code in NetBeans. Downloaded from here

我现在已经有很长一段时间了。标准的32位Ruby 1.8.6一键安装程序可以正常工作。我既可以运行Rails应用程序,也可以“均匀”调试NetBeans中的代码。从这里下载

#2


11  

32bits Ruby can be installed in 64bits Windows versions thanks to WOW64 (Windows on Windows functionality)

借助WOW64(Windows on Windows功能),可以在64位Windows版本中安装32位Ruby

There is no Installer for 64bits Ruby, and you will find a lot of complications in that front.

对于64位Ruby没有安装程序,你会发现很多复杂的问题。

I recommend you use the upcoming RubyInstallers from official RubyInstaller website:

我建议您使用官方RubyInstaller网站上即将推出的RubyInstallers:

http://rubyinstaller.org/

(Will be redirected to RubyForge, locate Preview 2 installers there). Both 1.8.6 and 1.9.1 are available.

(将被重定向到RubyForge,在那里找到预览2安装程序)。 1.8.6和1.9.1都可用。

Also, if you want more step to step instructions, please take a look to some tutorials we have collected here:

此外,如果您需要更多步骤说明,请查看我们在此处收集的一些教程:

http://wiki.github.com/oneclick/rubyinstaller/tutorials

Hope that helps.

希望有所帮助。

#3


3  

As of March 2013, the RubyInstaller team produce a 64 bit Windows build of Ruby 2.0 . My thanks to them.

截至2013年3月,RubyInstaller团队生成了64位Windows 2.0版本的Ruby 2.0。我要感谢他们。

http://rubyinstaller.org/downloads/

But all 32 bit software works normally on Windows 7 anyway - that's worth knowing.

但无论如何,所有32位软件在Windows 7上都能正常工作 - 这是值得了解的。

#4


1  

The Ruby team is still working on a 64-bit compiled version of Ruby for Windows. The 32-bit version works provided you do not need win32ole to work consistently. You will get a "Class Not Registered" error in some cases trying to instantiate a 64-bit OLE interface.

Ruby团队仍在研究用于Windows的64位编译版Ruby。如果您不需要win32ole一致地工作,32位版本可以工作。在尝试实例化64位OLE接口的某些情况下,您将收到“未注册类”错误。

Latest I have seen on the ruby installers list is: http://groups.google.com/group/rubyinstaller/browse_thread/thread/b628af0efaaae5bd

我在ruby安装程序列表上看到的最新内容是:http://groups.google.com/group/rubyinstaller/browse_thread/thread/b628af0efaaae5bd

This impacts some gems like virtualbox: http://github.com/mitchellh/virtualbox/issues#issue/37

这会影响像virtualbox这样的宝石:http://github.com/mitchellh/virtualbox/issues#issue/37