osx-elcapitan

Laravel Valet not working. 127.0.0.1 Connection Refused

风格不统一 提交于 2019-12-06 13:27:02
Trying to get the valet setup working. It appears when accessing 127.0.0.1 the connection is refused which is the message I get when I go to one of the *.dev sites setup. I've made sure apache is stopped and have been Googling all over the place and unable to find a solution. Has anyone come across this or have any ideas on what to try next? I previously had httpd22 installed but I've now uninstalled this with brew which changed the 127.0.0.1 from responding with a list directory of /Users/Rick/Sites to now connection refused. Fixed this. I followed a guide a while back to get a local dev

MySQL: error on El Capitan OS after Yosemite OS update

雨燕双飞 提交于 2019-12-06 06:11:04
I have problems with MySQL on my MacBook. I had updated my OS from Yosemite to El Capitan before I installed MySQL server. Now, when I try to run MySQL on Terminal, I got the error like this ERROR! The server quit without updating PID file Anyone can help me please? Thanks a lot! Try updating your my.cnf file to set the location of the PID file manually. Here's how you do that. In your Terminal run the following command. ps -ax | grep mysql This will list all the locations of the important mysql files. Look for the path of the --pid-file I will look something like this: --pid-file=/path/to

How to install gems without sudo on Mac OS X

不想你离开。 提交于 2019-12-06 05:22:24
问题 I've read numerous posts but none so far has done the trick. How can I, on OSX (El Capitan Beta) install a gem for my own user? Posts suggest specifying -user-install for example but I cannot call gem without sudo at all as it throws permission errors. I followed "Install gem as user on OSX 10.10 Yosemite" but still cannot call gem . I installed Homebrew, installed rbenv per the above guide, installed a version of Ruby with rbenv, checked it was loaded correctly, but the final step in the

Unable to link against Boost.Python on OS X

怎甘沉沦 提交于 2019-12-06 04:39:13
问题 I am trying to build a really trivial example with Boost.Python. I have installed boost and boost-python with homebrew. I am using python 3.4.3 and boost 1.59. My OS is El Capitan. Boost.Python was installed with python3 like this: brew install boost-python --with-python3 I have 3 files: /* greet.hpp */ #ifndef BOOSTPYTHONHELLOWORLD_GREET_HPP #define BOOSTPYTHONHELLOWORLD_GREET_HPP char const* greet(); #endif //BOOSTPYTHONHELLOWORLD_GREET_HPP /* greet.cpp */ #include "greet.hpp" char const*

can not modify PATH with putenv() running MAMP / PHP 5.6.1 / Mac OS X El Capitan

倖福魔咒の 提交于 2019-12-06 03:41:11
Config: MAMP Pro PHP 5.6.1 Mac OS X El Capitan I need to add /user/local/bin to the system paths php can access I've tried to use putenv() but it seems like I can't change the value of environment variable PATH in php using putenv() putenv('PATH=' . '/user/local/bin' . PATH_SEPARATOR . getenv('PATH') ); does not change the value this works with other variables PATH seems to be protected and I can not figure out where I can unprotect it - php ini settings do not seem to have anything regarding non-safe mode env vars. does that ring a bel with anyone? thanks Possibly protected by the new

Xcode 7 crashes while it is creating new file

不羁的心 提交于 2019-12-06 03:09:59
问题 I have "El Capitan GM" and I've updated my Xcode to Xcode 7 GM. Now I can't create new classes, Xcode crashes with message: UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[NSOpenPanel setAccessoryViewDisclosed:]: unrecognized selector sent to instance 0x7f940cf89af0 Is someone had faced with this problem? Is someone had solved it? UPD Now I'm using AppCode to create new files and Xcode to write a code. 回答1: This also happened to me. I updated my system to El Capitan GM (previously, I

unable to install capybara-webkit on OS X El Capitan

隐身守侯 提交于 2019-12-06 02:30:06
I am having problem with installing capybara-webkit after upgrading to El Capitan. QT version qt-4.8.7_1 already installed. bundle install gives permission error and sudo gem install gives onother error: bundle install: ~/P/m/web-automation (responsive ⚡=) bundle install Fetching gem metadata from http://rubygems.org/......... Fetching version metadata from http://rubygems.org/... Fetching dependency metadata from http://rubygems.org/.. Resolving dependencies... .... Installing capybara-webkit 1.7.1 with native extensions Errno::EACCES: Permission denied @ rb_sysopen - /usr/local/lib/ruby/gems

install rJava - One or more JNI types differ from the corresponding native type on Mac Os 10.11

南楼画角 提交于 2019-12-05 12:00:02
I am trying to get a working R environnement on my mac. I just updated to Mac OS 10.11.1. From rStudio, install.packages("rJava") leads to this error: checking Java support in R... present: interpreter : '/usr/bin/java' archiver : '/usr/bin/jar' compiler : '/usr/bin/javac' header prep.: '/usr/bin/javah' cpp flags : '-I/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre/../include -I/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre/../include/darwin' java libs : '-L/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre/lib/server -ljvm' checking

Android Studio Quits unexpectedly on Mac

冷暖自知 提交于 2019-12-05 10:25:47
I am running Android Studio v1.5.1 on OSX El Capitan 10.11.2. Android studio starts flickering whenever I move and click the mouse from external monitor to the laptops screen, then suddenly quits without giving any error message. Is anyone else facing this problem? Crash Report: http://pastebin.com/xda8wAKN I just found the solution to my problem: Open the info.plist in a text editor path is "/Applications/Android\ Studio.app/Contents/info.plist" update the JVMVersion to 1.7* 来源: https://stackoverflow.com/questions/34880984/android-studio-quits-unexpectedly-on-mac

Where is the Folder /lib/security from JRE 8 under OS X? [duplicate]

人走茶凉 提交于 2019-12-05 06:45:04
This question already has an answer here: Where is the JRE lib/security directory on Mac OS X? 4 answers I'm searching the Folder /lib/security from Java JRE 8 under OS X. Under Windows the fodler is located in the installation directory of java in the subfolder lib\security, for example: C:\Programm Files\Java\JRE_xxx\lib\security. But under OS X (El Capitan) i didn't find this folder. When i install Java JDK is found it inside the JDK install folder, but JRe come with shipped certificates, too which are stored in the cacerts file inside the lib/security folder. So this folder must be in OS X