Skip to content

Instantly share code, notes, and snippets.

@dgpokl
dgpokl / installing_rails_31_on_mac_os_x
Created April 12, 2012 00:46
Installing Ruby on Rails 3.1 for a clean install of Mac OS X
# This is a guide for how I installed rails 3.1 on a clean install of Mac OS X 10.7 Lion.
# There is no Warranty expressed, and I am not responsible for any issues that may arise from following this guide.
# Installing rails should be simple. I cringed at other peoples methods shared via Twitter.
# Keil Miller July 26, 2011
# Install RVM
$ curl -L get.rvm.io | bash -s stable
# Load RVM into new shells
# As instructed from the above command, add the line stated to the very bottom of the following file
@dgpokl
dgpokl / gist:2370538
Created April 12, 2012 19:51 — forked from dx7/gist:1333785
Installing ruby-debug with ruby-1.9.3-p125
# Install with:
# bash < <(curl -L https://raw.github.com/gist/2370538)
#
# Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug
# And: http://stackoverflow.com/questions/7054948/ruby-debug19-on-ruby-1-9-3-preview1
echo "Installing ruby-debug with ruby-1.9.3-p125 ..."
curl -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
curl -OL http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem