Won't Let Me Install Gem in Ruby Prompt

前端 未结 4 1119
小鲜肉
小鲜肉 2021-01-07 08:41

Windows Vista, Ruby v. 3.3.5

C:\\>gem install rmagick

Building native extensions.  This could take a while...

ERROR:  Error installing rmagick:
                 


        
4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-07 08:58

    Download this rmagick-2.13.2.gem gem and save in you local.

    Open the repository in cmd prompt where the gem file is located and run the following cmd

    gem install rmagick-2.13.2.gem --platform=ruby --with-opt-lib=C:/ImageMagick-6.6.7-Q16/lib --with-opt-include=c:/ImageMagick-6.6.7-Q16/include
    

提交回复
热议问题