我正在尝试在新的xcode项目中运行pod init
。但是我收到了错误:
.rvm/gems/ruby-2.2.3/gems/bundler-1.13.2/lib/bundler/rubygems_ext.rb:45:in `full_gem_path': uninitialized constant Bundler::Plugin::API::Source (NameError)
from /Users/nicholasstephan/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/basic_specification.rb:144:in `block in full_require_paths'
from /Users/nicholasstephan/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/basic_specification.rb:143:in `map'
from /Users/nicholasstephan/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/basic_specification.rb:143:in `full_require_paths'
from /Users/nicholasstephan/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/basic_specification.rb:76:in `contains_r
我已经多次使用sudo gem install bundler
重新安装了bundler。
这是rvm
问题吗?这是怎么回事?
感谢。
答案 0 :(得分:3)
尝试运行gem update
和gem cleanup
。我认为这个问题出现在bundler 1.13.0上。