Skip to content

Instantly share code, notes, and snippets.

@stevewong
stevewong / README.md
Last active August 23, 2018 03:56 — forked from terenceponce/README.md

Setting up Ruby, Rails, Nginx, Passenger, PostgreSQL 9 on Ubuntu 12.04 LTS

Last updated: 02/21/2014

Fix the locale issue

  • Edit /etc/default/locale as sudo.
  • Append LC_ALL="en_US.UTF-8" at the end of the file, save and quit.
  • sudo locale-gen en_US en_US.UTF-8
  • sudo dpkg-reconfigure locales

Install the necessary packages to install rbenv and build Ruby