繁体   English   中英

Ruby 未创建新项目

[英]Ruby not creating a new project

我一直在尝试让 ruby 在轨道上启动测试应用程序 3 天。 我是个菜鸟,但我只是想让轨道运行。 我收到一个错误

Fetching nokogiri 1.10.9 (x64-mingw32)
Installing nokogiri 1.10.9 (x64-mingw32)
Gem::RuntimeRequirementNotMetError: nokogiri requires Ruby version >= 2.3, <
2.7.dev. The current ruby version is 2.7.1.83.
An error occurred while installing nokogiri (1.10.9), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.10.9' --source
'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  rails was resolved to 6.0.2.2, which depends on
    actioncable was resolved to 6.0.2.2, which depends on
      actionpack was resolved to 6.0.2.2, which depends on
        actionview was resolved to 6.0.2.2, which depends on
          rails-dom-testing was resolved to 2.0.3, which depends on
            nokogiri
         run  bundle binstubs bundler
Could not find gem 'webpacker (~> 4.0) x64-mingw32' in any of the gem sources
listed in your Gemfile.
       rails  webpacker:install
Could not find gem 'webpacker (~> 4.0) x64-mingw32' in any of the gem sources li
sted in your Gemfile.
Run `bundle install` to install missing gems.

任何帮助是极大的赞赏。 我卸载并重新安装了 4 次

该错误显示您需要执行的操作:

Gem::RuntimeRequirementNotMetError: nokogiri requires Ruby version >= 2.3, <
2.7.dev. The current ruby version is 2.7.1.83.

安装 ruby < 2.7 和 > 2.3,你有 2.7.1.83。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM