-
-
Save GarstgerUnhold/339911 to your computer and use it in GitHub Desktop.
This file contains 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 /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 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
This file contains 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 | |
export ARCHFLAGS="-arch x86_64" | |
launchctl load /usr/local/Cellar/mysql/*/com.mysql.mysqld.plis | |
mysql_install_db | |
launchctl start com.mysql.mysqld | |
rvm ree,1.8.6,1.8.7,1.9.1,1.9.2,rbx-head gem install mysql -- --with-mysql-dir=/usr/local --with-mysql-config=/usr/local/bin/mysql_config |
This file contains 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 postgresql | |
export ARCHFLAGS="-arch x86_64" | |
initdb /usr/local/var/postgres | |
launchctl load -w /usr/local/Cellar/postgresql/*/org.postgresql.postgres.plist | |
rvm ree,1.8.6,1.8.7,1.9.1,1.9.2,rbx-head gem install postgres |
This file contains 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
mkdir -p ~/.rvm/src/ && cd ~/.rvm/src && rm -rf ./rvm/ && git clone --depth 1 git://github.com/wayneeseguin/rvm.git && cd rvm && ./install | |
echo 'if [[ -s $rvm_path/scripts/rvm ]] ; then source $rvm_path/scripts/rvm ; fi' >> ~/.bashrc | |
source ~/.rvm/scripts/rvm | |
rvm package install iconv | |
rvm install ree,1.8.6,1.8.7,1.9.1,1.9.2,rbx-head,jruby,macruby,ironruby,maglev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment