Setup recipe for Rails Girls

Cooking time: 5min active / 15-30min passive

To build apps and other things with Ruby on Rails, we need to setup some software and the developer environment for your computer.

Follow the instructions for your operating system. If you hit into any problems, don’t panic. Inform us at the event and we can solve it together.


Setup for OS X

Step 1. Let’s check the version of the operating system.

Click the Apple menu and choose About this Mac.

Apple menu

Step 2. In the window you will find the version of your operating system. If your version number starts with 10.6, 10.7 or 10.8 this guide is for you. If it’s something else, we can setup your machine at the event.

About this Mac dialog

Step 3. Download the RailsInstaller for your version of OS X:

Double click the downloaded file and it will unpack it into the current directory. Double click the the newly unpacked ‘RailsInstaller-1.0.3-osx-10.7.app’ or ‘RailsInstaller-1.0.3-osx-10.6.app’ and follow the instructions. It will open a README file with ‘Rails Installer OS X’ at the top. Please ignore the instructions in this file.

Final step. Install a text editor to edit code files. For the workshop we recommend the text editor Sublime Text.

Now you should have a working Ruby on Rails programming setup. Congrats!


Setup for Windows

Download RailsInstaller and run it. Click through the installer using the default options.

Installation of Git and SSH-keys is required if you want to put your app online with Heroku.

Final step. You also need a text editor to edit code files. For the workshop we recommend the text editor Sublime Text.

Now you should have a working Ruby on Rails programming setup. Congrats!


Setup for Linux

To install the Ruby on Rails development environment you just need to copy the line below for your Linux distribution (Ubuntu or Fedora), paste it in the Terminal and press Enter. Enjoy the text flying on the screen; it will take quite some time. Grabbing a refreshing drink before starting is encouraged.

For Ubuntu:

bash < <(curl -s https://raw.github.com/railsgirls/installation-scripts/master/rails-install-ubuntu.sh)

For Fedora:

bash < <(curl -s https://raw.github.com/railsgirls/installation-scripts/master/rails-install-fedora.sh)

Final step. You also need a text editor to edit code files. For the workshop we recommend the text editor Sublime Text.

Now you should have a working Ruby on Rails programming setup. Congrats!