Other Pages

Expand All

Sanity Check

Skip to step 3 if you are in the Intro to Programming course.

Step 1: Have a volunteer check your tool versions

Find a volunteer and have them watch the next steps.

Verify tool installation

Most of the time, the version numbers don't have to match exactly. In general, if the first two numbers match, or if the full number you have is greater than the one below, then you're cool.

If you're on OSX or Linux:

Type this in the terminal:
rvm -v
Approximate expected result:
rvm 1.x.x by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.io/]
The greyed-out text may differ and is not important.

On all operating systems:

Type this in the terminal:
ruby -v
Approximate expected result:
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-darwin13]
The greyed-out text may differ and is not important.

Depending on your environment, your Ruby version might be 2.2 or 2.3. As long as it's 2.2.2 or above, you're good to go.

Type this in the terminal:
bundle -v
Approximate expected result:
Bundler version 1.x.x
The greyed-out text may differ and is not important.
Type this in the terminal:
rails -v
Approximate expected result:
Rails 5.0.x
The greyed-out text may differ and is not important.

The RailsBridge curriculum is written for Rails 5, so if you still have Rails 4.x or earlier, you need to install Rails 5 with gem install rails.

Step 2: Show your Heroku app to a volunteer

Visit the heroku site you made on the previous page and create a new drink.

Step 3: RSVP for tomorrow's workshop

Type this in the terminal:
curl -s http://www.railsbridge-montreal.com/checks/script | ruby -
Expected result:
You have the prerequisites installed for the following classes:
Introduction to programming: Yes
Introduction to Rails: Yes
Rails for Developers: Yes

Step 4: Congratulations!

You get a sticker! (Or a high-five if there aren't any stickers).

Next Step: