Monatsarchiv für June 2009

git Konflikt lösen

Wednesday, den 24. June 2009

Du arbeitest mit Git und Github, änderst ein paar Dateien und willst die Änderungen mit
git pull
hochladen. Shit! ein Konflikt wird gemeldet und die Frage, wie man das löst kommt auf.
Bei dem Ausführen von git pull werden an der Codestelle der Konflikt angezeigt.

Diesen kann man dann per Hand lösen und dann wieder mit git add und [...]

Rails: Compass from scratch

Sunday, den 7. June 2009

“Compass is a real stylesheet framework, not a collection of classes. With Compass, you still use the best of breed css frameworks (blueprint, yui, 960); ported to Sass to make them easier to configure and apply to your semantic markup.”
Zum einrichten eines neuen Ruby on Rails-Projektes mit Compass müssen erst zwei gems installiert werden:

Haml
Compass

Die Installation [...]

Haml & Sass Rails

Sunday, den 7. June 2009

gem install haml
oder
git clone git://github.com/nex3/haml.git
$ cd haml
$ rake install
$ cd ..

Für das Leben auf der Kante auch gem install haml-edge
Um das Projekt dann haml & sass fertig zu machen noch
haml -rails .
ausführen, fertig!