Skip to content

Instantly share code, notes, and snippets.

@vtypal
Created August 19, 2010 10:35
Show Gist options
  • Save vtypal/537572 to your computer and use it in GitHub Desktop.
Save vtypal/537572 to your computer and use it in GitHub Desktop.
#~ +++++++++++++++++++++++++++++++++++++++++++++++++++
#~ Installing RedCloth on Windows / win32 platforms
#~ ++++++++++++++++++++++++++++++++++++++++++++++++++++
#~ Find all the available RedCloth versions with a gem query
#~ C:\>gem19 query --remote -d -a -n RedCloth
=begin
RedCloth (4.2.3, 4.2.2, 4.2.1, 4.2.0, 4.1.9, 4.1.1, 4.1.0, 4.0.4, 4.0.3, 4.0.2,
4.0.1, 4.0.0, 3.0.4, 3.0.3, 3.0.2, 3.0.1, 3.0.0)
Platforms:
3.0.0: ruby
3.0.1: ruby
3.0.2: ruby
3.0.3: ruby
3.0.4: ruby
4.0.0: ruby, x86-mswin32-60
4.0.1: ruby, x86-mswin32-60
4.0.2: ruby, x86-mswin32-60
4.0.3: ruby, x86-mswin32-60
4.0.4: ruby, x86-mswin32-60
4.1.0: ruby, universal-java, x86-mswin32-60
4.1.1: ruby, universal-java, x86-mswin32-60
4.1.9: ruby, universal-java, x86-mswin32-60
4.2.0: ruby, universal-java, x86-mswin32-60
4.2.1: ruby, universal-java, x86-mswin32-60
4.2.2: ruby, universal-java, x86-mswin32-60
4.2.3: ruby, universal-java, x86-mswin32-60
Author: Jason Garber
Rubyforge: http://rubyforge.org/projects/redcloth
Homepage: http://redcloth.org
=end
#OK, i select the latest "4.2.3", for my platform "x86-mswin32-60".
#~ Now installing is a joke:
# C:\> gem19 install RedCloth -v 4.2.3 --platform=x86-mswin32-60
#~ ... and it's done
=begin
Successfully installed RedCloth-4.2.3-x86-mswin32-60
1 gem installed
Installing ri documentation for RedCloth-4.2.3-x86-mswin32-60...
Updating class cache with 828 classes...
Installing RDoc documentation for RedCloth-4.2.3-x86-mswin32-60...
=end
#~ Thanks to Hugh Sasse from http://www.ruby-forum.com/topic/189141
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment