gpt4 book ai didi

ruby-on-rails-3 - 在 Mac OS X Lion 上安装 rails 3.1 时找不到文件 'lib'

转载 作者:行者123 更新时间:2023-12-04 07:03:29 25 4
gpt4 key购买 nike

我刚刚安装了 rvm,然后使用以下命令安装了 rails 3.1rc5:

gem install rails --pre

但是在“安装 ri 文档”和 RDoc 文档后出现了一些错误:
Successfully installed <bunch of things>
30 gems installed
Installing ri documentation for multi_json-1.0.3...
Installing ri documentation for activesupport-3.1.0.rc5...
Installing ri documentation for builder-3.0.0...
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README, skipping
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README.rdoc, skipping
Installing ri documentation for i18n-0.6.0...
Installing <tons more documentation>
Installing ri documentation for rails-3.1.0.rc5...
file 'lib' not found
Installing RDoc documentation for multi_json-1.0.3...
Installing RDoc documentation for activesupport-3.1.0.rc5...
Installing RDoc documentation for builder-3.0.0...
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README, skipping
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README.rdoc, skipping
Installing RDoc documentation for i18n-0.6.0...
Installing <tons more documentation>
Installing RDoc documentation for rails-3.1.0.rc5...
file 'lib' not found

README 文件问题似乎没什么大不了的,但是找不到“lib”文件听起来有点吓人..为什么要这样做?一些搜索发现其他人有这个问题并用 gem install rdoc 修复它然后重新运行 gem install rails --pre .但这仍然给出相同的 lib文件丢失错误给我。

最佳答案

尝试使用 rvm gemset install rails --pre

关于ruby-on-rails-3 - 在 Mac OS X Lion 上安装 rails 3.1 时找不到文件 'lib',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6938641/

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