Advertisement
Guest User

"$ gem install therubyracer" Error Message

a guest
Oct 29th, 2017
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.23 KB | None | 0 0
  1. $ gem install therubyracer
  2.  
  3. ERROR:  Error installing therubyracer:
  4.     ERROR: Failed to build gem native extension.
  5. current directory:
  6. C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8
  7. C:/RailsInstaller/Ruby2.3.0/bin/ruby.exe -r ./siteconf20171029-15304-8yv6j.rb extconf.rb
  8. creating Makefile
  9.  
  10. The system can not find the path specified.
  11. C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/builder.rb:86:in 'setup_python!': libv8 requires python 2 to be installed in order to build, but it is currently 3.4.1 (RuntimeError)
  12.     from C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/builder.rb:53:in 'build_libv8!'
  13.     from C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:24:in 'install!'
  14.     from extconf.rb:7:in '<main>'
  15.  
  16. extconf failed, exit code 1
  17.  
  18. Gem files will remain installed in C:\RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19 for inspection.
  19. Results logged to C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/extensions/x86-mingw32/2.3.0/libv8-3.16.14.19/gem_make.out
  20. Temporarily enhancing PATH to include DevKit...
  21. Building native extensions.  This could take a while...`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement