Created
February 14, 2010 16:10
-
-
Save rodreegez/304112 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gem sources -a http://gems.whatever.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo mkdir -p /usr/local | |
$ sudo chown -R `whoami` /usr/local | |
$ curl -L http://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C /usr/local |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install mysql: | |
$ mysql_install_db --basedir=/usr/local/Cellar/mysql/5.1.41 | |
$ launchctl load -w /usr/local/Cellar/mysql/5.1.41/com.mysql.mysqld.plist | |
$ (ok, so launching Mysql on startup doesn't quite seem to work with homebrew) | |
$ export ARCHFLAGS="-arch i386 -arch x86_64" | |
$ gem install mysql -- --with-mysql-dir=/usr/local--with-mysql-config=/usr/local/bin/mysql_config | |
$ sudo gem install gemcutter bundler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ssh-keygen -t rsa -C "[email protected]" | |
$ cat ~/.ssh/id_rsa.pub | pbcopy | |
$ Add (or edit) a public key in your GitHub account (https://github.com/account) | |
$ git config --global user.name "Your Name" | |
$ git config --global user.email "[email protected]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -O http://gemcutter-production.s3.amazonaws.com/rubygems/rubygems-1.3.5.tgz | |
$ tar xzvf rubygems-1.3.5.tgz | |
$ cd rubygems-1.3.5 | |
$ sudo ruby setup.rb | |
$ sudo gem update | |
$ rm -rf rubygems-1.3.5.tgz | |
$ rm -rf rubygems-1.3.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment