-
Notifications
You must be signed in to change notification settings - Fork 13
Tipps für macOS
- Terminal: iTerm2
- Editor: Text Mate 2
-
Ruby ist in Version 1.8.7 bereits vom System mitgeliefert.
-
XCode installieren.
-
In XCode die "Command Line Tools" installieren (unter "Einstellungen", "Downloads").
-
Homebrew installieren:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
-
Mit Hilfe von
brew doctor
alle bestehenden Probleme beheben. -
Git installieren:
brew install git
. Außerdem ist der Github-Gui-Client für Mac OS recht gut. -
Hilfspakete für die Plattform:
brew install libxml2 icu4c imagemagick pwgen ghostscript
-
MySQL:
brew install mysql ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist mysql_secure_installation
-
PhantomJS:
brew install phantomjs
Dann kann im Getting-Started-Guide mit der Konfiguration von Git fortgefahren werden.
Wenn das gem rmagick
bei der Installation einen Fehler meldet, schafft dieser Trick Abhilfe:
brew remove imagemagick
brew install imagemagick --disable-openmp --build-from-source
Fehler: CarrierWave::ProcessingError: Failed to manipulate with rmagick, maybe it is not an image? Original Error: Postscript delegate failed
Lösung: Wahrscheinlich fehlt schlicht ghostscript: brew install ghostscript
.