Rhomobile Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Time for action – Installing on a Mac

To setup Rhomobile on a Mac, follow these steps:

  1. Ruby: Ruby might be pre installed on a Mac. You can check it by typing ruby –v on the terminal. If it is there you can skip this step. If it is not there, then you can install it by using Locomative, Macport, or Fink.
  2. Install rubygems: Download one of three files available at RubyGems: .tgz, .zip, or .gem.
  3. Rhodes: You can install Rhodes as a gem. Go to the terminal and type:
    sudo gem install Rhodes
    
  4. Rhosync: You can install it as a gem. Go to the terminal and type:
    sudo gem install Rhosync
    

Rhodes and RhoSync are installed and ready to use on a Mac.

What just happened?

We just installed the Rhomobile products: Rhodes, Rhosync and their dependencies on Microsoft Windows, Linux, and Apple Mac. Now, we are ready to create a Rhodes and Rhosync Application. However, to build and test applications we have to install a device simulator.