0

我有一个使用 Ruby 的项目,由于未知原因,我无法确定为什么我的 ruby​​ 程序不会在这个特定的包中启动。请原谅长代码。我尝试了几种即兴解决方案,但我对此事知之甚少。

Microsoft Windows [Version 10.0.19041.572]
(c) 2020 Microsoft Corporation. All rights reserved.

D:\[God, please allow this to work]\react-evernote-guided-project>cd backend

D:\[God, please allow this to work]\react-evernote-guided-project\backend>gem update --system
Updating rubygems-update
Fetching: rubygems-update-3.1.4.gem (100%)
Successfully installed rubygems-update-3.1.4
Parsing documentation for rubygems-update-3.1.4
Installing ri documentation for rubygems-update-3.1.4
Installing darkfish documentation for rubygems-update-3.1.4
Done installing documentation for rubygems-update after 56 seconds
Parsing documentation for rubygems-update-3.1.4
Done installing documentation for rubygems-update after 0 seconds
ERROR:  While executing gem ... (NoMethodError)
    undefined method `version' for nil:NilClass

D:\[God, please allow this to work]\react-evernote-guided-project\backend>rails server
Could not find gem 'tzinfo-data x86-mingw32' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.

无论我更改什么,捆绑安装都无法正常工作。

4

0 回答 0