未初始化的常量捆绑器
每当我尝试执行 sudo /var/lib/gems/1.8/gems/bundler-1.0.21/bin/bundle install
时,我都会遇到以下问题:
/var/lib/gems/1.8/gems/bundler-1.0.21/bin/bundle:14: uninitialized constant Bundler (NameError)
有什么想法吗?
这没有帮助:
未初始化的常量 Bundler (NameError) with Rails 3
I'我正在运行 Ubuntu 11.10,64 位(如果有帮助的话)。
Whenever I try to do sudo /var/lib/gems/1.8/gems/bundler-1.0.21/bin/bundle install
, I run into this:
/var/lib/gems/1.8/gems/bundler-1.0.21/bin/bundle:14: uninitialized constant Bundler (NameError)
Any ideas?
This did not help:
uninitialized constant Bundler (NameError) with rails 3
I'm running Ubuntu 11.10, 64 bit if that helps any.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我将设置一个系统范围的 RVM 安装,以支持在同一系统上分离不同的 Ruby 环境(以及多个帐户的环境) 。
Bundler 将帮助维护每个环境的依赖关系,但某些 gem 版本可能会发生冲突。 RVM 中的 Gemset 通过对每个环境进行分段来解决该问题。
I would setup a system-wide RVM installation to support separating different Ruby environments (and environments for multiple accounts) on the same system.
Bundler will help in maintaining dependencies for each environment but some gem versions may conflict. Gemsets within RVM work around that issue by segmenting each environment.