MacOS
Last updated
Last updated
Click the Apple menu and choose About this Mac.
If your version number starts with 10.6, 10.7, 10.8, 10.9, 10.10, 10.11 10.12, 10.13, or 10.14 this guide is for you. If it’s something else, we can setup your machine at the event.
We are installing homebrew and rbenv.
You can find the newest version of Ruby with the command “rbenv install -l”.
If you got "BUILD FAILED (OS X 10.14.6 using ruby-build 20191004)"
If you got “OpenSSL::SSL::SSLError: … : certificate verify failed” error, try it this way.
Download the RailsInstaller for your version of OS X:
RailsInstaller for 10.7 and 10.8 (325MB)
RailsInstaller for 10.6 (224MB)
Double click the downloaded file and it will unpack it into the current directory. Double click the the newly unpacked ‘RailsInstaller-1.0.4-osx-10.7.app’ or ‘RailsInstaller-1.0.4-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.
If the Rails version wasn’t the latest, you could update it using a following command on terminal.
For the workshop we recommend the text editor Atom.
If you are using Mac OS X 10.8 or older versions, you can use another editor Sublime Text 2.
Open whatsmybrowser.org and update your browser if you don’t have the latest version.
Check that everything is working by running the application generator command.
Go to http://localhost:3000
in your browser, and you should see the ‘Yay! You’re on Rails!’ page.
Now you should have a working Ruby on Rails programming setup. Congrats!
Coach: We recommend to verify by using the scaffold command and inputting data with the generated page with coaches to ensure everything is working. Also: remove the test app testapp
to make super sure no-one is working in the wrong folder, following the steps of the workshop.