undefined method `activate_bin_path’ for Gem:Module❓

pod install

/usr/local/bin/pod:22:in <main>': undefined method activate_bin_path’ for Gem:Module (NoMethodError)
from /Users/rongtian/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in eval'
from /Users/rongtian/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in
<main>’

 

/Library/Ruby/Site/2.3.0/rubygems.rb:289:in find_spec_for_exe': can't find gem cocoapods (>= 0.a) with executable pod (Gem::GemNotFoundException)
from /Library/Ruby/Site/2.3.0/rubygems.rb:308:in
activate_bin_path’
from /usr/local/bin/pod:23:in `<main>’

发表回复

电子邮件地址不会被公开。 必填项已用*标注

Protected with IP Blacklist CloudIP Blacklist Cloud