Script to set up a new Ruby on Rails development environment.
- Git, 2.5+.
- Ruby, preferably version 2.2.3.
- MySQL, 5.6+ or PostgreSQL, 9.4+.
-
Create bin directory to add to PATH:
$ mkdir -p ~/.bin
-
Add railsready to it:
$ curl -so ~/.bin/railsready https://raw.githubusercontent.com/rfsfrn/railsready/master/railsready
-
Make it executable:
$ chmod +x ~/.bin/railsready
-
Add ~/.bin to your $PATH, e.g.:
$ echo 'export PATH=$HOME/.bin:$PATH' >> ~/.bash_profile $ source ~/.bash_profile
Paste the following commands at a Terminal prompt.
cd
mkdir -p Workspace/railsapps && cd $_
railsready test_app
This software is released under the MIT License, see LICENSE.