gpt4 book ai didi

ruby-on-rails - Ruby on Rails devkit 窗口

转载 作者:可可西里 更新时间:2023-11-01 12:40:38 27 4
gpt4 key购买 nike

我在安装 ruby​​ on rails devkit 时遇到问题。这是我得到的错误

C:\DevKit>ruby dk.rb review
Based upon the settings in the 'config.yml' file generated
from running 'ruby dk.rb init' and any of your customizations,
DevKit functionality will be injected into the following Rubies
when you run 'ruby dk.rb install'.

C:/Ruby192
C:/Ruby192/include/ruby-1.9.1

C:\DevKit>ruby dk.rb install
[INFO] Updating convenience notice gem override for 'C:/Ruby192'
[INFO] Installing 'C:/Ruby192/lib/ruby/site_ruby/devkit.rb'
[ERROR] Unable to find RubyGems in site_ruby or core Ruby. Please install RubyGems and rerun 'ruby dk.rb install'.

请帮帮我

谢谢

最佳答案

错误是您将 C:/Ruby192/include/ruby-1.9.1 添加到 Ruby 安装列表中。

默认情况下 dk.rb 不会找到那个,实际上这不是一个有效的路径。

请确保 config.yml 仅包含以下内容:

- C:/Ruby192

破折号很重要

完成后,再次尝试 ruby dk.rb install

关于ruby-on-rails - Ruby on Rails devkit 窗口,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6550582/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com