Warning Older Docs! - You are viewing documentation for a previous released version of RhoMobile Suite.

Install Rhodes

Installing Rhodes with RhoStudio

To install Rhodes on a Windows or Macintosh platform, install RhoMobile Suite. The RhoMobile Suite installer installs Rho products, such as Rhodes, RhoConnect, RhoElements, and RhoStudio. RhoStudio is an Eclipse installation that facilitates development of native smartphone applications.

Click here for the RhoMobile Suite installation instructions.

The rest of this chapter consists of instructions for installing Rhodes from the command line, without using the RhoMobile Suite installer. You do not need to perform those instructions if you installed using the RhoMobile Suite installer.

Installing Rhodes on Linux

To install Rhodes on Linux, you need to install the Rhodes gem. Download and install:

  1. Ruby v1.9.3. (Later versions of Ruby will not work with this version of Rhodes).

  2. Install the Rhodes Gem.

Run this command to install the Rhodes Gem.

$ [sudo] gem install rhodes
If you get any `no such file to load -- something` messages while running the rake tasks or rhodes commands, this can usually be resolved by putting "sudo" in front of the command, as in `sudo gem install something`.
Do not install Ruby as a standalone if you also use Ruby Version Manager (rvm) to install Ruby. If you need only one version of Ruby, you can install Ruby as a standalone. If you need more than one version of Ruby, you should uninstall standalone Ruby and then install Ruby with Ruby Version Manager. Mixed standalone Ruby and rvm-controlled Ruby installations can conflict and cause runtime issues in RhoConnect applications.

Setup Rhodes SDKs

Once you have Rhodes, you will need the SDKs for the platform you want to build your app on. These instructions are found here.

After you install the gem and your desired SDKs, you need to run:

$ rhodes-setup

This will prompt you for where you installed the SDKs for the various platforms. The installation script will display its best guess as to where the SDK is. You can then enter a new location, or leave it blank to use the suggestion. If you are not building for a specific platform (for example, you can’t build for the iPhone on Windows), you can leave that SDK location blank. You can find prerequisites for each platform here.

Setting the JDK Path in Command Line Installations

For Linux and for Rhodes installs from the command line, set the JDK path in JAVA_HOME and PATH.

Back to Top