5

The following error was obtained when installing pods

/Users/mosab/.gem/ruby/1.8/gems/cocoapods-0.30.0/lib/cocoapods.rb:12: undefined method `enforce_available_locales=' for I18n:Module (NoMethodError)
from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:55:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/mosab/.gem/ruby/1.8/gems/cocoapods-0.30.0/bin/pod:32
from /usr/bin/pod:23:in `load'
from /usr/bin/pod:23
Cœur
  • 37,241
  • 25
  • 195
  • 267
user3347073
  • 137
  • 1
  • 5

1 Answers1

6

Try "sudo gem update i18n" in your command line. Then re-run your pod command.

This fixed it for me.

CoBrA2168
  • 418
  • 3
  • 12