Go to the RubyInstaller download page available at http://rubyinstaller.org/downloads/.
A sequence of dialogs appears. These allow you to specify installation language and agree to licensing terms. The configuration dialog is crucial.
Once Ruby is installed, a new program group appears in the Start Menu under All Programs.
The shortcut Start Command Prompt with Ruby opens a command line window with the correct settings for using Ruby. Use this shortcut for all AppFog command line actions. You may want to copy it to the desktop or pin it to the status bar.
Use the command line to install the AppFog Gem.
c:\Users\isaac>gem install af
Use the command line to install the Sinatra gem.
c:\Users\isaac>gem install sinatra
Overview of this book
AppFog is the leading platform-as-a-service provider of PHP, Ruby, Node.js, and Java solutions. It is used by developers worldwide to deploy tens of thousands of applications. AppFog delivers a reliable, scalable, and fast platform for deploying applications in the cloud.This book is a hands-on guide that will walk you through creating and deploying applications to the cloud using AppFog, which will allow you to get your application deployed without the hassle of setting up servers.This book demonstrates how to use the AppFog service to build an application and have it running in the Cloud. It will walk you through the initial AppFog setup process and explain how to create your first application in minutes.You will also discover how to use services such as databases to make your applications more powerful. You will also learn how to create applications from scratch.You will find out everything you need to know to get an application running in the cloud for the first time.
Table of Contents (13 chapters)
About the Authors
About the Reviewers
Getting Started with AppFog
Using the Command-line Tool
Creating an Application from Scratch
Installing the AppFog Gem