Script to setup a Ruby development environment for your OS X machine. Tested on Mountain Lion.
-
Install the Command Line Tools for Xcode.
-
Change your default shell to zsh:
chsh -s /bin/zsh
-
Open a new terminal session and run this one-liner:
zsh < <(curl -s https://raw.github.com/janogonzalez/osx-developer-setup/master/install)
The script will add a few lines to your .zshrc
.
Copies your public SSH key to the clipboard so you can paste it on your GitHub account configuration. If you don't have a SSH Key it will create one for you.
A great package manager, it's used to install the rest of the software.
A tool like grep, optimized for searching in source code files.
The best text editor ;).
A terminal multiplexer, allows to run multiple terminals from a single screen.
A tool to index language objects like classes, functions, etc. to easily locate them by text editors and other tools.
A tool to process images.
An open source relational database.
Another open source relational database.
An open source key-value store.
A tool for managing different Ruby versions.
A tool to compile different Ruby versions.
The latest stable Ruby version.
A gem to manage Ruby application dependencies.
It should take about 30 minutes for everything to install, depending on your machine.
This stuff doesn't come in the script.
A great configuration framework for zsh.
A terminal emulator for OS X.
A color theme for your terminal, editors and IDEs.
A great application launcher (and so much more).
A utility to uninstall software.
A tool to unpack archives.
A great tool for system maintenance and personalization.
Sometimes you want a graphical history viewer...