How to run iPhone emulator WITHOUT starting Xcode?

Assuming you have Xcode installed in /Applications, then you can do this from the command line to start the iPhone Simulator: $ open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app (Xcode 6+): $ open /Applications/Xcode.app/Contents/Developer/Applications/iOS Simulator.app You could create a symbolic-link from your Desktop to make this easier: $ ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app ~/Desktop (Xcode 6+): $ ln -s /Applications/Xcode.app/Contents/Developer/Applications/iOS … Read more

Can’t install Ruby under Lion with RVM – GCC issues

This answer was edited multiple times and now contains several alternative solutions. Try the simple “Edit 3” solution first. Ruby 1.9.3-p125 and later have official support for clang, so if you are installing such a version you should not need GCC. If you’re installing an older version of Ruby, read on. To compile Ruby with … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)