Other Pages

Expand All
Slides

Checklist

Before you go, double check that you can complete the tasks below so we can hit the ground running tomorrow morning.

If you're using a virtual machine

  1. Open a command line on your computer.

    • On macOS: In Finder, start Applications > Utilities > Terminal, or find the Terminal application through Spotlight (click the magnifying glass in the top right of the screen and start typing 'Terminal')
    • On Windows: open up Git Bash from your desktop or All Programs menu. Do not use Power Shell or Command Prompt! It doesn't support the ssh command that we need.
    • On Linux: press Ctrl + Alt + T or Find Terminal under the Accessories category of your applications menu.
  2. Go to the RailsBridge folder: type cd ~/Desktop/railsbridge

  3. Start the virtual machine: type vagrant up

  4. Connect to the virtual machine: type vagrant ssh

  5. Start the Ruby interactive editor: type irb

  6. Exit the Ruby interactive editor: type exit

  7. Disconnect from the virtual machine by typing exit

  8. Stop the virtual machine for the night: type vagrant halt.

  9. From Finder or the Start menu, start Sublime Text or your text editor application.

  10. Get a setup confirmation sticker from a TA and stick it on your laptop where it will be visible when you return tomorrow.

If you're using Cloud9

  1. Log into your Cloud9 console if you're not already there.

    • Visit aws.amazon.com/cloud9
    • Click "Sign In to the Console" in the top right
    • Log in with the credentials you created
    • Select Cloud9 under "services"
  2. Find the "railsbridge" project you just created under "Your environments" and click "Open IDE"

  3. Go to the terminal at the bottom of the screen.

    • If no terminal is currently open, click the green plus (+) sign and select "New Terminal"
  4. In the terminal, type irb to open an interactive ruby session

  5. Write some ruby!

    first_number = 1
    second_number = 2
    first_number + second_number
    
  6. Type exit when you are done with your irb session. That's it!

If you're using native install

  1. Open the terminal

    • On macOS: In Finder, start Applications > Utilities > Terminal, or find the Terminal application through Spotlight (click the magnifying glass in the top right of the screen and start typing 'Terminal')
    • On Windows: open up Git Bash from your desktop or All Programs menu. Do not use Power Shell or Command Prompt! It doesn't support the ssh command that we need.
    • On Linux: press Ctrl + Alt + T or Find Terminal under the Accessories category of your applications menu.
  2. In the terminal, type irb to open an interactive ruby session

  3. Write some ruby!

    first_number = 1
    second_number = 2
    first_number + second_number
    
  4. Type exit when you are done with your irb session. That's it!

You're Done!

Congratulations, you're done with the Friday session. We'll see you at 9:30am tomorrow. Please bring the same laptop you used tonight.

If you have any questions, comments, or feedback on tonight's material, don't hesitate to let a TA know. We also have a feedback form that you can use early and often to provide feedback about the workshop.