Skip to content

Instantly share code, notes, and snippets.

@brain64bit
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brain64bit/0a2989f0c4c3b46af67b to your computer and use it in GitHub Desktop.
Save brain64bit/0a2989f0c4c3b46af67b to your computer and use it in GitHub Desktop.
Install Ruby 2, Rails 4.1.1 and RMagick on Windows 7

Installation Ruby 2.0.0, Rails 4.1.1, Rmagick 2.13.2 on Windows 7

Installing rails and its dependencies always painfull in windows, thankfully to railsinstaller or rubyinstaller but here i want show how install ruby, rails and rmagick based on my experience:

  1. First install rails FTW, its like railsinstaller but at least more latest ruby and rails than railsinstaller. Its contain ruby 2.0.0-p481 32bit and rails 4.1.1

  2. In here you've got ruby 2.0.0 and rails 4.1.1 installed in your system. Open your cmd and type ruby -v and rails -v to make sure ruby on rails installed properly.

  3. Download Devkit 4.7.2 32bit

  4. Download ImageMagick-6.7.9-9-Q16-windows-dll.exe install on C:/imagemagick

  5. from cmd configure devkit stuff, with cd devkit, devkitvars.bat, ruby dk.rb install -f

  6. cd to c:\imagemagick

  7. And finally you can install rmagick gem using command prompt:

    gem install rmagick --verbose -- --with-opt-lib=lib --with-opt-include=include

  8. or if step 5 to 7 doesn't work, please goto devkit dir, execute mysys.bat, and from mysys console

    gem install rmagick --verbose -- --with-opt-dir=C:\imagemagick

Well from above steps finally i was successfully install ruby 2.0.0-p481, rails 4.1.1 and rmagick 2.13.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment