-p
http://web-proxy:8080 works fine when I install the uuid gem. And the
next time I run into a mis-informed article, I will provide the link.
But up to now there were many. Here's the output of the rdiscount debug
install.
=========================================================================
D:\Downloads\Ruby>gem install rdiscount --platform=ruby --http-proxy
http://web-
proxy:8080 --debug -V
Exception `NameError' at
C:/Ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:1
64 - uninitialized constant Gem::Commands::InstallCommand
Exception `NameError' at C:/Ruby192/lib/ruby/1.9.1/syck/tag.rb:81 -
method `yaml
_as' not defined in Module
Exception `Gem::LoadError' at C:/Ruby192/lib/ruby/1.9.1/rubygems.rb:762
- Could
not find RubyGem test-unit (>= 0)
Exception `Gem::LoadError' at C:/Ruby192/lib/ruby/1.9.1/rubygems.rb:762
- Could
not find RubyGem sources (> 0.0.1)
GET
http://rubygems.org/latest_specs.4.8.gz
Exception `Errno::EWOULDBLOCK' at
C:/Ruby192/lib/ruby/1.9.1/net/protocol.rb:135
- A non-blocking socket operation could not be completed immediately. -
read wou
ld block
302 Found
GET
http://production.s3.rubygems.org/latest_specs.4.8.gz
Exception `Errno::EWOULDBLOCK' at
C:/Ruby192/lib/ruby/1.9.1/net/protocol.rb:135
- A non-blocking socket operation could not be completed immediately. -
read wou
ld block
304 Not Modified
Exception `NoMethodError' at
C:/Ruby192/lib/ruby/1.9.1/rubygems/specification.rb
:538 - undefined method `to_ary' for #<Gem::Specification name=rdiscount
version
=1.6.5>
Installing gem rdiscount-1.6.5
Exception `NoMethodError' at
C:/Ruby192/lib/ruby/1.9.1/rubygems/package/tar_inpu
t.rb:49 - undefined method `readpartial' for
#<Gem:

ackage::TarReader::Entry:0x
2d565b0>
Exception `IOError' at C:/Ruby192/lib/ruby/1.9.1/rubygems/format.rb:50 -
closed
stream
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1
Temporarily enhancing PATH to include DevKit...
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/COPYING
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/README.markdown
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/Rakefile
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/bin
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/bin/rdiscount
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/Csio.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/amalloc.h
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/basename.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/config.h
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/css.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/cstring.h
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/docheader.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/dumptree.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/emmatch.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/extconf.rb
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/generate.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/html5.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/markdown.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/markdown.h
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/mkdio.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/mkdio.h
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/rdiscount.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/resource.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/tags.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/tags.h
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/toc.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/xml.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/lib/markdown.rb
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/lib/rdiscount.rb
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/man
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/man/markdown.7
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/man
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/man/rdiscount.1
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/man
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/man/rdiscount.1.ronn
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/rdiscount.gemspec
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test/benchmark.rb
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test/benchmark.txt
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test/markdown_test.rb
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test/rdiscount_test.rb
C:/Ruby192/bin/rdiscount
C:/Ruby192/bin/rdiscount.bat
Building native extensions. This could take a while...
Exception `Gem::InstallError' at
C:/Ruby192/lib/ruby/1.9.1/rubygems/ext/builder.
rb:49 - extconf failed:
C:/Ruby192/bin/ruby.exe extconf.rb
checking for random()... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-optException `Gem::Installer::ExtensionBuildError' at
C:/Ruby192/
lib/ruby/1.9.1/rubygems/installer.rb:483 - ERROR: Failed to build gem
native ext
ension.
C:/Ruby192/bin/ruby.exe extconf.rb
checking for random()... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--withERROR: Error installing rdiscount:
ERROR: Failed to build gem native extension.
C:/Ruby192/bin/ruby.exe extconf.rb
checking for random()... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby192/bin/ruby
--with-rdiscount-dir
--without-rdiscount-dir
--with-rdiscount-include
--without-rdiscount-include=${rdiscount-dir}/include
--with-rdiscount-lib
--without-rdiscount-lib=${rdiscount-dir}/lib
C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed
to genera
te an executable file. (RuntimeError)
You have to install development tools first.
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:435:in `try_link0'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:440:in `try_link'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:552:in `try_func'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:797:in `block in
have_func'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:693:in `block in
checking_for'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels)
in postp
one'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block in
postpone'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:276:in `postpone'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:796:in `have_func'
from extconf.rb:5:in `<main>'
Gem files will remain installed in
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount
-1.6.5 for inspection.
Results logged to
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/gem_ma
ke.out
D:\Downloads\Ruby>
==========================================================================