It's time to test your setup!

Now that you have Ruby 2.1.1, bundler, and SQLite installed, you should be able to run Ruby-based web applications locally.

Preflight Check

First, make sure that you've got all of the tools from the previous section installed:

git --version       # should be version 1.8.*
sqlite3 --version   # should be version 3.*
ruby --verison      # should be version 2.1.1-*
bundle --version    # should be version 1.6.*

If any of those commands give you errors, go back and try reinstalling the relevant tools. A quick tip - Google is your friend when it comes to cryptic error messages.

Running Your First Sinatra App

Once you've verified that all of the dependencies for Ruby web development are installed, you can try running an app!

First, clone the example app with Git:

git clone

Next, go into the app directory and install the dependencies with bundler

cd webdev-gettingstarted
bundle install

Finally, run the app


And you should be able to browse to http://localhost:9393 and see a screen that looks like this:

If you're not seeing a screen that looks like that, check the output of shotgun for error messages!