code_junkie

Gem update on Windows - is it broken?

Nov 11th, 2011
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. Updating sqlite3-ruby
  2. Building native extensions. This could take a while...
  3. ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
  4. ERROR: Failed to build gem native extension.
  5.  
  6. c:/ruby/bin/ruby.exe extconf.rb update
  7. checking for fdatasync() in rt.lib... no
  8. checking for sqlite3.h... no
  9.  
  10. nmake
  11. 'nmake' is not recognized as an internal or external command,
  12. operable program or batch file.
  13.  
  14. $ gem -v
  15. 1.2.0
  16.  
  17. $ ruby -v
  18. ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
  19.  
  20. gem update --system
  21.  
  22. `gem.bat outdated`.split(/n/).map{|z|z.scan(/^[^[:space:]]+/)}.flatten.each{|z| `gem.bat update #{z}`}
  23.  
  24. gem install sqlite3-ruby --version '1.2.3'
  25.  
  26. gem install sqlite3-ruby --platform=mswin32
Add Comment
Please, Sign In to add comment