Advertisement
h4cky

rails error

Nov 2nd, 2011
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. D:\devKit>gem install rails
  2. Fetching: multi_json-1.0.3.gem (100%)
  3. Fetching: activesupport-3.1.1.gem (100%)
  4. Fetching: builder-3.0.0.gem (100%)
  5. Fetching: i18n-0.6.0.gem (100%)
  6. Fetching: activemodel-3.1.1.gem (100%)
  7. Fetching: rack-1.3.5.gem (100%)
  8. Fetching: rack-cache-1.1.gem (100%)
  9. Fetching: rack-test-0.6.1.gem (100%)
  10. Fetching: rack-mount-0.8.3.gem (100%)
  11. Fetching: hike-1.2.1.gem (100%)
  12. Fetching: tilt-1.3.3.gem (100%)
  13. Fetching: sprockets-2.0.3.gem (100%)
  14. Fetching: erubis-2.7.0.gem (100%)
  15. Fetching: actionpack-3.1.1.gem (100%)
  16. Fetching: arel-2.2.1.gem (100%)
  17. Fetching: tzinfo-0.3.30.gem (100%)
  18. Fetching: activerecord-3.1.1.gem (100%)
  19. Fetching: activeresource-3.1.1.gem (100%)
  20. Fetching: mime-types-1.17.2.gem (100%)
  21. Fetching: polyglot-0.3.3.gem (100%)
  22. Fetching: treetop-1.4.10.gem (100%)
  23. Fetching: mail-2.3.0.gem (100%)
  24. Fetching: actionmailer-3.1.1.gem (100%)
  25. Fetching: thor-0.14.6.gem (100%)
  26. Fetching: rack-ssl-1.3.2.gem (100%)
  27. Fetching: json-1.6.1.gem (100%)
  28. Temporarily enhancing PATH to include DevKit...
  29. Building native extensions. This could take a while...
  30. ERROR: Error installing rails:
  31. ERROR: Failed to build gem native extension.
  32.  
  33. "D:/Program Files/Ruby192/bin/ruby.exe" extconf.rb
  34. checking for re.h... *** extconf.rb failed ***
  35. Could not create Makefile due to some reason, probably lack of
  36. necessary libraries and/or headers. Check the mkmf.log file for more
  37. details. You may need configuration options.
  38.  
  39. Provided configuration options:
  40. --with-opt-dir
  41. --without-opt-dir
  42. --with-opt-include
  43. --without-opt-include=${opt-dir}/include
  44. --with-opt-lib
  45. --without-opt-lib=${opt-dir}/lib
  46. --with-make-prog
  47. --without-make-prog
  48. --srcdir=.
  49. --curdir
  50. --ruby=D:/Program Files/Ruby192/bin/ruby
  51. D:/Program Files/Ruby192/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier fa
  52. iled to generate an executable file. (RuntimeError)
  53. You have to install development tools first.
  54. from D:/Program Files/Ruby192/lib/ruby/1.9.1/mkmf.rb:452:in `try_cpp'
  55. from D:/Program Files/Ruby192/lib/ruby/1.9.1/mkmf.rb:834:in `block in ha
  56. ve_header'
  57. from D:/Program Files/Ruby192/lib/ruby/1.9.1/mkmf.rb:693:in `block in ch
  58. ecking_for'
  59. from D:/Program Files/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 le
  60. vels) in postpone'
  61. from D:/Program Files/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open'
  62. from D:/Program Files/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block in po
  63. stpone'
  64. from D:/Program Files/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open'
  65. from D:/Program Files/Ruby192/lib/ruby/1.9.1/mkmf.rb:276:in `postpone'
  66. from D:/Program Files/Ruby192/lib/ruby/1.9.1/mkmf.rb:692:in `checking_fo
  67. r'
  68. from D:/Program Files/Ruby192/lib/ruby/1.9.1/mkmf.rb:833:in `have_header
  69. '
  70. from extconf.rb:14:in `<main>'
  71.  
  72.  
  73. Gem files will remain installed in D:/Program Files/Ruby192/lib/ruby/gems/1.9.1/
  74. gems/json-1.6.1 for inspection.
  75. Results logged to D:/Program Files/Ruby192/lib/ruby/gems/1.9.1/gems/json-1.6.1/e
  76. xt/json/ext/parser/gem_make.out
  77.  
  78.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement