Skip to content

Instantly share code, notes, and snippets.

View ingoclaro's full-sized avatar

Ingo Claro ingoclaro

  • Groupon
  • Seattle, USA
View GitHub Profile
@ingoclaro
ingoclaro / gist:5278753
Last active December 15, 2015 14:59 — forked from zenkay/gist:3237860
ruby installation on OSX

Ruby, RVM and Mountain Lion

Key problems

Mountain Lion (10.8) has three main difference compared to Lion (10.7):

  • XCode 4.4 does not install Command Line Tools by default
  • X11 isn't available anymore
  • The installed version of OpenSSL has some bugs

How to work around

upstream app {
server unix:/var/www/app.com/shared/sockets/unicorn.sock fail_timeout=0;
}
server {
server_name www.app.com;
rewrite ^ $scheme://app.com$request_uri? permanent;
}
server {
server_name app.com;