Ruby mac 下应该怎么安装 bundle

sihaiyunyou · 2011年11月25日 · 最后由 aNdReW_Qx 回复于 2012年02月04日 · 20345 次阅读

我用 gem install bundler 和 gem install bundle 安装了以后,在执行者也的 bundle 的时候总是出一大对错误,也不知咋回事,我下载了 bundler-1.0.0 在 rubygems,下载了 bundle-0.0.1,在 ubuntu 安装的时候顺利就通过了,在 mac 下怎么就搞不定呢

错误贴上来

#1 楼 @gene_wu /Users/Adolph/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.0/lib/bundler/ui.rb:46:in <class:UI>': uninitialized constant Gem::SilentUI (NameError) from /Users/Adolph/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.0/lib/bundler/ui.rb:2:inmodule:Bundler' from /Users/Adolph/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.0/lib/bundler/ui.rb:1:in <top (required)>' from /Users/Adolph/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.0/lib/bundler/cli.rb:17:ininitialize' from /Users/Adolph/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.0/lib/bundler/vendor/thor.rb:246:in new' from /Users/Adolph/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.0/lib/bundler/vendor/thor.rb:246:indispatch' from /Users/Adolph/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.0/lib/bundler/vendor/thor/base.rb:389:in start' from /Users/Adolph/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.0/bin/bundle:13:in' from /Users/Adolph/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in load' from /Users/Adolph/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in'

gem install bundler 不是 bundle 哦

需要 登录 后方可回复, 如果你还没有账号请 注册新账号