Guest User

help me

a guest
Aug 4th, 2013
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1.  
  2. C:\ruby-2.0.0-p247>cd DevKit
  3.  
  4. C:\ruby-2.0.0-p247\DevKit>ls
  5. bin devkitvars.bat dk.rb include m.ico msys.bat postinstall share
  6. config.yml devkitvars.ps1 etc lib mingw msys.ico sbin
  7.  
  8. C:\ruby-2.0.0-p247\DevKit>ruby dk.rb init
  9. [INFO] found RubyInstaller v2.0.0 at C:/Ruby200-x64
  10.  
  11. Initialization complete! Please review and modify the auto-generated
  12. 'config.yml' file to ensure it contains the root directories to all
  13. of the installed Rubies you want enhanced by the DevKit.
  14.  
  15. C:\ruby-2.0.0-p247\DevKit>ruby dk.rb install
  16. [INFO] Skipping existing gem override for 'C:/Ruby200-x64'
  17. [WARN] Skipping existing DevKit helper library for 'C:/Ruby200-x64'
  18.  
  19. C:\ruby-2.0.0-p247\DevKit>gem install rails
  20. Temporarily enhancing PATH to include DevKit...
  21. Building native extensions. This could take a while...
  22. ERROR: Error installing rails:
  23. ERROR: Failed to build gem native extension.
  24.  
  25. C:/Ruby200-x64/bin/ruby.exe extconf.rb
  26. *** extconf.rb failed ***
  27. Could not create Makefile due to some reason, probably lack of necessary
  28. libraries and/or headers. Check the mkmf.log file for more details. You may
  29. need configuration options.
  30.  
  31. Provided configuration options:
  32. --with-opt-dir
  33. --without-opt-dir
  34. --with-opt-include
  35. --without-opt-include=${opt-dir}/include
  36. --with-opt-lib
  37. --without-opt-lib=${opt-dir}/lib
  38. --with-make-prog
  39. --without-make-prog
  40. --srcdir=.
  41. --curdir
  42. --ruby=C:/Ruby200-x64/bin/ruby
  43. --with-atomic_reference-dir
  44. --without-atomic_reference-dir
  45. --with-atomic_reference-include
  46. --without-atomic_reference-include=${atomic_reference-dir}/include
  47. --with-atomic_reference-lib
  48. --without-atomic_reference-lib=${atomic_reference-dir}/
  49. C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:430:in `try_do': The compiler failed to ge
  50. nerate an executable file. (RuntimeError)
  51. You have to install development tools first.
  52. from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:515:in `try_link0'
  53. from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:813:in `try_run'
  54. from extconf.rb:24:in `<main>'
  55.  
  56.  
  57. Gem files will remain installed in C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/atomi
  58. c-1.1.12 for inspection.
  59. Results logged to C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/atomic-1.1.12/ext/gem_
  60. make.out
Advertisement
Add Comment
Please, Sign In to add comment