`
wuhuizhong
  • 浏览: 682775 次
  • 性别: Icon_minigender_1
  • 来自: 中山
社区版块
存档分类
最新评论

installed RMagick 2.13.1 on Windows with Ruby v1.9.x

    博客分类:
  • ROR
阅读更多
  1. Install DevKit : https://github.com/oneclick/rubyinstaller/wiki/Development-Kit .
  2. Install ImageMagick 6.6.x with windows installer with headers.
    NOTE:
    -Do not install ImageMagick in a path which has spaces in it.
    The default path C:/Program Files/... will not work.
    Install it at a simpler path.
    -- Remove any older installations of ImageMagick and RMagick
  3. Set the paths in Environment Variables:

    set DFImageMagick environment variable to where ImageMagick is installed
    set PATH=%DFImageMagick%;%PATH% (if you don't already have it in PATH)
    set CPATH=%DFImageMagick%\include;%CPATH%
    set LIBRARY_PATH=%DFImageMagick%\lib;%LIBRARY_PATH%

  4. Install RMagick gem : gem install rmagick
    This should say, Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... After some time, Successfully installed rmagick 2.13.1

  5. Verify installation:

    A. convert -version
    this should give the ImageMagick installation version
    B. gem list --local should list rmagick 2.13.1
    Alternative: in irb, try
    require 'rmagick'
    it should return 'true'

 

ref:

http://www.ruby-forum.com/topic/204353#new

http://www.waydotnet.com/blog/2010/02/rmagick-on-ruby-1-9-1-i386-mingw32-work-d/# link text

分享到:
评论

相关推荐

    amfphp-1.9.beta.20080120.zip_AMFPHP1.9_Making of_amfPHP 1_amfphp

    A javascript-based standards-friendly way of making Flash content accessible to browsers without Flash installed, including screen readers and primitive

    node-v12.16.3-x64.zip

    "node-v12.16.3-x64.msi"是Windows Installer包,用户可以在解压后直接通过这个文件在Windows系统上安装Node.js。安装过程中,用户可以选择自定义安装路径,设置环境变量,并决定是否将Node.js添加到系统的PATH环境...

    node-v14.8.0-x64.msi

    node-v14.8.0-x64.js window系统 64安装包,下载解压可以直接使用,免配置环境变量,省着去外网下载

    tModLoader.Windows.v0.11.6.2.7z

    Make sure you don't accidentally rename it to "Terraria_v1.3.5.3.exe.exe", this is a common mistake because Windows hides file extensions by default. If you are unsure, enable file extensions to ...

    JLink_Windows_V644.exe 2019.3.1

    Installing the software will automatically install the J-Link ... Multiple versions of the J-Link software can be installed on the same PC without problems; they will co-exist in different directories.

    Troubleshooting.Windows.Server.with.PowerShell

    This book shows you how to use PowerShell to quickly pinpoint, diagnose, and solve problems with your Windows Server environment, reducing the need for external tools, and ensuring you stay up-to-date...

    kernel-4.19.90-23.45.v2101.ky10.x86-64.rpm

    Kylin V10内核包 kernel-4.19.90-23.45.v2101.ky10.x86_64.rpm

    node-v14.21.3-x86.msi

    node-v14.21.3-x86.msi

    JLink_Windows_V646a.exe

    Installing the software will automatically install the J-Link ... Multiple versions of the J-Link software can be installed on the same PC without problems; they will co-exist in different directories.

    rubyinstaller-devkit-2.5.3-1-x64.exe

    The installed ruby is a native Windows application but combines this with the rich UNIX toolset of MSYS2 and the large repository of MINGW libraries. Find more about RubyInstaller and it’s ...

    win3.x 下的wing 玩某些老游戏必备比如孔明传

    selected into a WinGDC on Win3x - use CreateBitmap(8,8,1,8,0) DrawIcon will crash WinGBitBlt and WinGStretchBlt will not always blt to the correct location when you have changed the Viewport and/...

    Eziriz.Net.Reactor.v4.9.0.0破解版

    3) Replace the "dotNET_Reactor.exe" file on the installed folder with my cracked version. 4) Run the Application. 5) Now, you have a full version Eziriz.Net.Reactor.v4.9.0.0 Enjoy! That's all falks! ...

    ReceiverCleanupUtility.zip

    The Receiver Clean-Up Utility removes components, files, and registry values of Online Plug-in 11.x, 12.x, and Receiver for Windows 3.x, 4.x (Online Plugin-in 13.x, 14.x). This includes the Offline ...

    kernel-4.19.90-25.21.v2101.ky10.aarch64.rpm

    KylinV10 ARM内核包

    NativeExcel_v2.x.rar

    NativeExcel v2.x is a high-performance solution for Delphi Developers that allows writing of new Excel spreadsheets and reading of existing ones. NativeExcel does not require installed Microsoft ...

    Oracle SQL Developer 2.1.0.63.73 for 32bit-windows-no-jre.part2

    To use an existing JDK, download the zip files listed below "with JDK already installed." Use Check for Updates to install: Third-party database drivers for Sybase, SQL Server and MySQL. For more ...

    多开远程桌面RDPWrap-v1.6.2windows10 10.0.16299.15可用

    installed 安装 service state: 服务状态 running 运行 listener state: 监听状态 listening 监听 fully supported 完全支持 general settings 一般设置 enable remote desktop 启用远程桌面 rdp port 3389 RDP...

    JLink_Windows_V664.rar

    Multiple versions of the J-Link software can be installed on the same PC without problems; they will co-exist in different directories. SEGGER官网下载,Windows平台版本,下载日期为2020年3月13日,截至...

    ruby selenium-client-1.2.18.gem

    5. Download the RubyInstaller– The Ruby Installer is currently available only for the Windows platform. The version that I have downloaded was Ruby 1.9.2-p0 6. Install the RubyInstaller by double ...

    FortiClientMiniSetup-Windows-x64-Enterprise-6.0.4.rar for windows x64

    One recent study found that 30% of breaches involved malware being installed on endpoints. FortiClient strengthens endpoint security through integrated visibility, control, and proactive defense. ...

Global site tag (gtag.js) - Google Analytics