Skip to content

Instantly share code, notes, and snippets.

@hudsonmaradona
hudsonmaradona / gist:5928426
Last active December 19, 2015 08:49
Script Install Web Server - Ngnix + Unicorn + Ruby 2.0p247 + PostgreSQL 9.2.4 + Firewall UFW
#!/bin/bash
# PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Store the base dir
BASEDIR=$( cd $(dirname $0); pwd)
# Get all dependencies
@hudsonmaradona
hudsonmaradona / Script Install Web Server - Ngnix + Unicorn + Ruby 2.0 + PostgreSQL 9.2
Created May 17, 2013 19:32
Script Install Web Server - Ngnix + Unicorn + Ruby 2.0 + PostgreSQL 9.2
#!/bin/bash
# PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Store the base dir
BASEDIR=$( cd $(dirname $0); pwd)
# Get all dependencies
I'm having the same error after installing however was libv8 (3.15.11.1 x86_64-linux) my this with the following error:
Building native extensions. This could take a while...
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.
/home/devtecsis/.rvm/rubies/ruby-1.9.3-p362/bin/ruby extconf.rb
checking for main() in -lpthread... yes
creating Makefile