Now that you have Ruby 2.1.1, bundler, and SQLite installed, you should be able to run Ruby-based web applications locally.
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.
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 https://github.com/qrohlf/webdev-gettingstarted.git
Next, go into the app directory and install the dependencies with bundler
cd webdev-gettingstarted
bundle install
Finally, run the app
shotgun
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!