added rbenv-version.
kCG* constants require CoreGraphics framework.
Fixed fallback of serever mode.