Installing on Windows

  1. Go to the RubyInstaller download page available at http://rubyinstaller.org/downloads/.
  2. Choose and download the latest installer from the list. All the provided installers support the AppFog command line.
    Installing on Windows

    Note

    You can use a 64-bit version of Ruby (marked x64) if you are sure you have a 64-bit version of Windows. If you have a 32-bit version of Windows, or are unsure, download one of the other installers, which work on both 32-bit and 64-bit Windows.

  3. Run the downloaded installer. If you are running a recent version of Windows, a Security Warning dialog will appear; confirm that the program has your permission to run.
    Installing on Windows
  4. A sequence of dialogs appears. These allow you to specify installation language and agree to licensing terms. The configuration dialog is crucial.
    Installing on Windows
  5. Be sure that Add Ruby executables to your PATH is checked. You can also install Tcl/Tk support and associate source files, but these are not needed for AppFog.
  6. Once Ruby is installed, a new program group appears in the Start Menu under All Programs.
    Installing on Windows
  7. 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.
  8. Use the command line to install the AppFog Gem.
    c:Usersisaac>gem install af
    
  9. Use the command line to install the Sinatra gem.
    c:Usersisaac>gem install sinatra
    
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.104.153