Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/64.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 我能';“t运行”;“捆绑安装”;由于libv8_Ruby On Rails_Ruby - Fatal编程技术网

Ruby on rails 我能';“t运行”;“捆绑安装”;由于libv8

Ruby on rails 我能';“t运行”;“捆绑安装”;由于libv8,ruby-on-rails,ruby,Ruby On Rails,Ruby,我在Windows10上运行这个。 我正在尝试构建此存储库(如果Gemfile和Gemfile.lock有帮助): 因此,我假设Gemfile.lock导致安装我不想要的版本。但我不知道如何解决这个问题 我还在学习Ruby,这是我决定开始尝试的第一个大项目 我的电脑上也有Python2。所以我不确定为什么它说它不存在。如果你看一下gem文件,它说mini_racer gem是一个可选的gem,这是这里的症结所在,因此可能值得对它进行评论并尝试再次捆绑。看看你有没有进展 此外,如果mini_ra

我在Windows10上运行这个。 我正在尝试构建此存储库(如果Gemfile和Gemfile.lock有帮助):

因此,我假设Gemfile.lock导致安装我不想要的版本。但我不知道如何解决这个问题

我还在学习Ruby,这是我决定开始尝试的第一个大项目


我的电脑上也有Python2。所以我不确定为什么它说它不存在。

如果你看一下gem文件,它说mini_racer gem是一个可选的gem,这是这里的症结所在,因此可能值得对它进行评论并尝试再次捆绑。看看你有没有进展

此外,如果mini_racer与Rubyracer类似,windows上实际上不需要它,因为它内置了JScript,所以不需要另一个javascript运行时

Error:

C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1/ext/libv8

C:/Ruby24-x64/bin/ruby.exe -r ./siteconf20200209-30680-1j9g8t0.rb extconf.rb

creating Makefile

The system cannot find the path specified.

The system cannot find the path specified.

The system cannot find the path specified.

C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1/ext/libv8/builder.rb:57:in

`setup_python!': libv8 requires python 2 to be installed in order to build, but

it is currently not available (RuntimeError)

from

C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1/ext/libv8/builder.rb:39:in

`build_libv8!'

from

C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1/ext/libv8/location.rb:24:in

`install!'

from extconf.rb:7:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in

C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1 for inspection.

Results logged to

C:/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/libv8-7.3.492.27.1/gem_make.out

An error occurred while installing libv8 (7.3.492.27.1), and Bundler cannot

continue.

Make sure that `gem install libv8 -v '7.3.492.27.1' --source

'https://rubygems.org/'` succeeds before bundling.

In Gemfile:

mini_racer was resolved to 0.2.9, which depends on

libv8
libv8 (7.3.492.27.1) 
..... 
mini_racer (0.2.9) 
  libv8 (>= 6.9.411)