Cannot install thin on windows

后端 未结 6 925
遇见更好的自我
遇见更好的自我 2020-12-02 16:33

I cannot install thin gem on windows. Something happen during build of native extensions.

Do anybody face same issues?

Here is the stack trace:



        
6条回答
  •  长情又很酷
    2020-12-02 17:05

    You can install Thin without needing to build it yourself by using the pre-built binaries but you need to know which ones. To get the latest pre-built win32 version do the following:

    1. Go to the RubyGems Thin page
    2. Look under the "Versions" section for a version that has "x86-mswin32" to the right of it. (As of today versions 1.2.11, 1.2.10, etc all have win32 binaries)
    3. Run the following following "gem install" command with the version of Thin included with the "-v" flag:

    gem install thin -v 1.2.11

    Here are the results from my installation:

    c:\>gem install thin -v 1.2.11
    Successfully installed thin-1.2.11-x86-mswin32
    1 gem installed
    Installing ri documentation for thin-1.2.11-x86-mswin32... 
    Updating ri class cache with 3611 classes... 
    Installing RDoc documentation for thin-1.2.11-x86-mswin32...
    

提交回复
热议问题