Skip to content

Instantly share code, notes, and snippets.

View omeryavuz's full-sized avatar

omer yavuz omeryavuz

View GitHub Profile
#!/bin/bash
# To uninstall all gems
GEMS=`gem list --no-versions`
for x in $GEMS ; do gem uninstall $x; done
# In a future revision it would be
# nice to prevent all the prompts but it's
# still faster than the alternative as it is
@whartonn
whartonn / .rvmrc
Created June 30, 2011 23:22
Phusion Passenger errors with multi-user RVM, nginx, rails 3.0.9 & ubuntu
if [[ -s "/usr/local/rvm/environments/ruby-1.9.2-p136@fat" ]] ; then
. "/usr/local/rvm/environments/ruby-1.9.2-p136@fat"
else
rvm --create use "ruby-1.9.2-p136@fat"
fi