Why does installing Ruby on Rails generate error “size of array 'ruby_check_sizeof_voidp' is negative”?

后端 未结 1 371
温柔的废话
温柔的废话 2020-12-01 23:37

When installing Ruby on Rails (via gem install rails) you may get the following error message:

c:/Ruby193/include/ruby-1.9.1/ruby/ruby.h:109:14:         


        
相关标签:
1条回答
  • 2020-12-02 00:05

    This happens when you have installed the wrong version of the DevKit for your version of Ruby, e.g., if you installed DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe into Ruby version 1.9.3.

    To correct the problem, reinstall Ruby and install the correct DevKit for your version of Ruby, as indicated in the section titled "Which Development Kit?" at http://rubyinstaller.org/downloads.

    0 讨论(0)
提交回复
热议问题