How to check version of Ruby dev kit installed in my Windows?

前端 未结 5 1666
小蘑菇
小蘑菇 2021-02-18 12:59

Ruby dev kit is installed in my Windows 7. How can I check whether it\'s 32 bit or 64 bit and version number

I\'m not asking How to check ruby version w

5条回答
  •  别那么骄傲
    2021-02-18 13:39

    On the 32 bit vs 64 bit part:

    ruby -e "puts 1.size"
    

    The 32 bit version would yield 4, the 64 bit version 8. (This is the size of a FixNum in bytes.)

提交回复
热议问题