Joined November 2012
·
Achievements
102 Karma
0 Total ProTip Views
Python 3
Have at least three original repos where Python is the dominant language
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
Honey Badger
Have at least one original Node.js-specific repo
Raven
Have at least one original repo where some form of shell script is the dominant language
Velociraptor
Have at least one original repo where Perl is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
T-Rex 3
Have at least three original repos where C is the dominant language
T-Rex
Have at least one original repo where C is the dominant language
Thanks for the tip!
On Ubuntu 12.04 I had to use this trick to get it to install:
sudo PATH=${PATH} $(which npm) install pg
I had to use sudo because the .meteor/local/build/server/nodemodules is a symbolic link to /usr/lib/meteor/lib/nodemodules which is owned by root.
I had to use PATH=${PATH} construct because sudo on Ubuntu is configured to reset the PATH to a smal list, and hence my PATH, which contained path to pg_config (required to build 'pg'), was lost. Doing PATH=${PATH} made sudo retain my PATH in the sudoed environment.
I used $(which npm) because npm is not installed system-wide, and is actually installed and managed by nvm (Node Version Manager). So the $(which npm) gave the exact path that sudo culd use to execute the binary, else sudo can't find npm (even though PATH=$PATH should've done this).