title: windows: rails: error installing bson_ext
body: <p>when trying to install bson_ext i see the error...installing json gem works fine which also requires building native extensions - i have tried everything see similar questions with no good answer </p>
  
  <pre><code>$ gem install bson_ext
  Temporarily enhancing PATH to include DevKit...
  Building native extensions.  This could take a while...
  ERROR:  Error installing bson_ext:
          ERROR: Failed to build gem native extension.
  
          c:/Ruby193/bin/ruby.exe extconf.rb
  checking for asprintf()... no
  checking for ruby/st.h... yes
  checking for ruby/regex.h... yes
  checking for ruby/encoding.h... yes
  creating Makefile
  
  make
  generating cbson-i386-mingw32.def
  compiling bson_buffer.c
  compiling cbson.c
  cbson.c:25:23: fatal error: arpa/inet.h: No such file or directory
  compilation terminated.
  make: *** [cbson.o] Error 1
  
  
  Gem files will remain installed in c:/Ruby193/lib/ruby/gems/1.9.1/gems/bson_ext-
  1.11.1 for inspection.
  Results logged to c:/Ruby193/lib/ruby/gems/1.9.1/gems/bson_ext-1.11.1/ext/cbson/
  gem_make.out
  
  $ gem install json
  Temporarily enhancing PATH to include DevKit...
  Building native extensions.  This could take a while...
  Successfully installed json-1.8.1
  1 gem installed
  Installing ri documentation for json-1.8.1...
  Installing RDoc documentation for json-1.8.1...
  </code></pre>