宝石什么都不做
我想我把事情搞砸了一点:
我想玩一下 Ruby on Rails。我一年前安装了它,但从未使用过。到现在为止。
由于遇到一些问题,我想从全新安装开始。我卸载了 Rails gems(3.0.7 和 3.1.1),并按照本指南进行全新安装:http://eddorre.com/posts/rails-ultimate-install-guide-on-os-x-snow-leopard-using-rvm-homebrew-and-passenger
但现在 gem什么都不做 - 当我在终端中输入 gem install bundle
时,光标直接进入下一行。即使 gem list
或 gem --help
也不起作用。我没有收到任何错误消息。
我不知道发生了什么。有些想法?
I guess I messed things up a little bit:
I wanted to play around with Ruby on Rails a little bit. I installed it a year ago but never used it. Till now.
Because of some problem a ran into I wanted to start from beginning with a fresh install. I uninstalled the Rails gems (3.0.7 and 3.1.1) and followed this guide for a fresh install: http://eddorre.com/posts/rails-ultimate-install-guide-on-os-x-snow-leopard-using-rvm-homebrew-and-passenger
But now gem does nothing - when I type gem install bundle
in my terminal the cursor goes straight to the next line. Even gem list
or gem --help
doesn't work. I get no error messages.
I have no clue what happened. Some thoughts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我将完全重新安装 rvm:
rvm implode
并重新开始:
bash <<(curl -s https://rvm.beginrescueend.com/install/rvm)< /code>
如果您尝试恢复现有环境,rvm 的一些选项可能很有用:
I'll do a full reinstall of rvm:
rvm implode
and start again:
bash <<(curl -s https://rvm.beginrescueend.com/install/rvm)
If you try to recover the existing environment, there are some options to rvm that can be useful:
既然您无论如何都想重新开始,我强烈建议您使用 RVM。执行“单用户安装”,这些 gem 问题应该完全消失。然后,如果您收到特定的错误消息,请发布该消息,以便我们可以继续处理。
Since you're trying to start over anyway, I would highly recommend that you use RVM. Do the "single user install" and these gem problems should disappear entirely. Then if you get a specific error message, post that so we have something to go on.
请在控制台中运行此命令:
此命令将返回您的 gem 环境,并且还有一个更正:我猜它应该是“
gem install bundler
”而不是“gem install bundle
” '。Please run this command in your console:
This command will return your gem environment, and one more correction: I guess it should be '
gem install bundler
' not 'gem install bundle
'.