Can not perform `pod install` under el capitan (15A279b)
Solution, fix for Cocoapods error on El Capitan 10.11: sudo gem install -n /usr/local/bin cocoapods
Solution, fix for Cocoapods error on El Capitan 10.11: sudo gem install -n /usr/local/bin cocoapods
I ran into the same problem, however with svn. I found that by installing El Capitan, Xcode was “uninstalled”. I reinstalled Xcode from the App Store and then reinstalled Xcode Command Line Tools via Terminal with xcode-select –install After installation, my /Library/Developer/CommandLineTools/usr/bin directory reappeared and svn started working again.
Try this: mysql -u root -h 127.0.0.1 -p Enter password: (enter the random password here) Ref:https://dev.mysql.com/doc/refman/5.7/en/data-directory-initialization-mysqld.html Following this, you may reset your password using ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘new-password’;
You can also temporarily disable SIP the following way reboot as soon as you hear the “Mac sound” on the grey screen, press Cmd+R to enter Recovery mode Open Utilities->Terminal Run the command csrutil disable Reboot, you’ll land in the normal OS with SIP disabled do all the changes you’d like to do Reboot again … Read more
Following up to Alexander Ushakov and Charles’ answers: Once you csrutil enable –without dtrace, there is an alternative to copying the binary: run the binary in one Terminal window and trace the Terminal process itself in another Terminal window. In the first terminal window, find its PID: $ echo $$ 1154 In the second terminal … Read more
This is what fixed it: First, create a new file: /Library/LaunchDaemons/com.mysql.mysql.plist <?xml version=”1.0″ encoding=”UTF-8″?> <plist version=”1.0″> <dict> <key>KeepAlive</key> <true /> <key>Label</key> <string>com.mysql.mysqld</string> <key>ProgramArguments</key> <array> <string>/usr/local/mysql/bin/mysqld_safe</string> <string>–user=mysql</string> </array> </dict> </plist> Then update permissions and add it to launchctl: sudo chown root:wheel /Library/LaunchDaemons/com.mysql.mysql.plist sudo chmod 644 /Library/LaunchDaemons/com.mysql.mysql.plist sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist
@dcc was very close. This is how MySQL autostarts again on Yosemite: The com.mysql.mysql.plist in /Library/LaunchDaemons: <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”> <plist version=”1.0″> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>com.mysql.mysqld</string> <key>ProgramArguments</key> <array> <string>/usr/local/mysql/bin/mysqld_safe</string> <string>–user=mysql</string> </array> </dict> </plist> Additionally I’ve changed the permissions based on this answer sudo chown root:wheel /Library/LaunchDaemons/com.mysql.mysql.plist sudo chmod … Read more
So I finally found the solution myself. Firstly I went into terminal and typed: mysql -u root -p This asked for my current password which I typed in and it gave me access to provide more mysql commands. Anything I tried from here gave this error: ERROR 1820 (HY000): You must reset your password using … Read more
Looks like you need to uncomment the following: #LoadModule userdir_module libexec/apache2/mod_userdir.so and #Include /private/etc/apache2/extra/httpd-userdir.conf Then in httpd-userdir.conf you may need to uncomment: #Include /private/etc/apache2/users/*.conf Lastly you would need to create /private/etc/apache2/users/kevin.conf if it doesn’t exist. I think it should look something like this: <Directory “/Users/kevin/Sites/”> Options Indexes MultiViews AllowOverride None Require all granted </Directory> Make … Read more
Instructions telling people to use sudo pip install are inherently wrong. If there is any tutorial out there which says you should use sudo pip then please file a bug against this package. The author is dis-educating the Python community, as time has proven sudo pip to be a broken practice. OSX El Capitan introduced … Read more