Created
March 2, 2012 08:34
-
-
Save 573/1956800 to your computer and use it in GitHub Desktop.
Install the nokogiri xml module on a rubyinstaller based setup in win32 (history of commands issued at my cmd.exe prompt to achieve this)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: First installed devkit from rubyinstaller page to E:\Programme\DevKit | |
:: Then installed Ruby193 from rubyinstaller page to E:\Programme\Ruby193 | |
:: opened cmd.exe prompt | |
pushd E:\Programme\DevKit | |
set PATH=E:\Programme\Ruby193\bin;%PATH% | |
ruby dk.rb init | |
ruby dk.rb review | |
ruby dk.rb install | |
gem install rdiscount --platform=ruby | |
ruby -rubygems -e "require 'rdiscount'; puts RDiscount.new('**Hello RubyInstaller**').to_html" | |
gem install nokogiri -- --pre --with-libxml2 --with-libxslt --platform=ruby | |
ruby -rubygems -e "require 'nokogiri'; puts (Nokogiri::XML::Builder.new { |xml| xml.root('xmlns' => 'default', 'xmlns:foo' => 'bar') do xml.ghajgsdjfgajkfg; end }).to_xml | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Those commands are only for proof and aren't needed basically:
ruby dk.rb review
gem install rdiscount --platform=ruby
ruby -rubygems -e "require 'rdiscount'; puts RDiscount.new('**Hello RubyInstaller**').to_html"