Set up your Development Environment
1. Install Rails
First, you must have a working version of Rails. Depending on your operating system, there is a different guide to follow:
- Mac users please use this guide on installing Rails
- Windows users please use this guide on installing Rails
- Linux users, you may refer to gorails guide. Please note: The Linux instructions are written and kept up to date by a third party (Go Rails). During the installation, you are offered choices (for Ruby version management and a database). For the purpose of this Installfest, when installing Ruby, please follow the RVM instructions (they recommend rbenv). You can also ignore the instructions to install MySQL and PostgreSQL as we’ll be using the SQLite database.
2. Download a Text Editor (if required)
You will also need a text editor in which to write your code. If you already have one installed, feel free to skip this step. We use Sublime Text.
If you prefer another text editor like Vim, emacs, TextMate or Github’s Atom that’s fine too but these instructions will specifically mention Sublime.
Once you’ve successfully installed Rails you’re ready to start.
First we need to determine which version of Rails you’re using. Open a command prompt and type:
Ideally, this should be Rails 5.1.
- For Rails version 5.1 use our version 5.1 guide
Older Versions of Rails
If you have an earlier version of Rails you can find the correct guide here: