Install Rails
Install Rails is a script to set up a Linux or Mac OS X system for Rails development.
Requirements
Linux
Currently supports Ubuntu, Linux Mint and other Debian based distributions.
Mac OS X
Install a C compiler:
For Snow Leopard (10.6): use OS X GCC Installer.
For Lion (10.7) or Mountain Lion (10.8): use Command Line Tools for XCode.
For Mavericks (10.9): run sudo xcodebuild -license
and follow the instructions
to accept the XCode agreement. Then run xcode-select --install
in your
terminal and then click "Install".
Install
Linux
Run the script:
bash <(wget -qO- https://raw.githubusercontent.com/techAPJ/install-rails/master/linux)
Mac OS X
Run the script:
bash <(curl -s https://raw.githubusercontent.com/techAPJ/install-rails/master/mac)
What it sets up
- Git
- rbenv
- ruby-build
- Ruby (stable)
- Rails
- PostgreSQL
- SQLite
- Redis
- Bundler
- MailCatcher (Linux script only)
- ImageMagick
It should take less than 15 minutes to install (depends on your machine).
Credits
Inspired by Thoughtbot Laptop.
License
Install Rails is released under the MIT License.