"brew update" fails on Mavericks (Apple O.S.)

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.5.4
    • Component/s: Write Ops
    • None
    • Environment:
      Apple Mavericks
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When trying to install MongoDB Ver. 2.5.4 on my MacBook running Mavericks, I got an error as follows

      'Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root or sudo'.

      Just FYI, I am the Administrator on my Mac machine.

      After again agreeing to Xcode and installing it, I tried "brew update" again and this time I received the following

      Error: undefined method 'to_sym' for nil:NilClass
      Please report this bug:
      http://github.com/mxcl/homebrew/wiki/troubleshooting
      /usr/local/Library/Homebrew/cmd/update.rb:103:in 'report'
      /usr/local/Library/Homebrew/cmd/update.rb:101:in 'each_line'
      /user/local/Library/Homebrew/cmd/update.rb:101:in 'report'
      /usr/local/Library/Homebrew/cmd/update.rb:23:in 'update'
      /usr/local/Library/brew.rb:95:in 'send'
      /usr/local/Library/brew.rb.95

            Assignee:
            Tyler Brock (Inactive)
            Reporter:
            Rudresh Rana
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: