Skip to content

Instantly share code, notes, and snippets.

View jalvarezsamayoa's full-sized avatar

Javier Alvarez jalvarezsamayoa

View GitHub Profile
@jalvarezsamayoa
jalvarezsamayoa / install-ruby-debug-ubuntu-ruby-1.9.3
Created April 2, 2012 15:10 — forked from fawce/install-ruby-debug-ubuntu-ruby-1.9.3
install for ruby-debug in ruby-1.9.3 and ubuntu
#!/bin/bash
##########IMPORTANT###########################################################################
# This script requires rvm: http://beginrescueend.com/
# Before running this script you must install rvm. This script will install ruby 1.9.3-p0 if it
# is not already. Ruby can take 10 minutes to compile.
# Load RVM into a shell session *as a function*
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
# First try to load from a user install
#!/bin/sh
# Credits to:
# - http://vstone.eu/reducing-vagrant-box-size/
# - https://github.com/mitchellh/vagrant/issues/343
aptitude -y purge ri
aptitude -y purge installation-report landscape-common wireless-tools wpasupplicant ubuntu-serverguide
aptitude -y purge python-dbus libnl1 python-smartpm python-twisted-core libiw30
aptitude -y purge python-twisted-bin libdbus-glib-1-2 python-pexpect python-pycurl python-serial python-gobject python-pam python-openssl libffi5