2 Replies Latest reply on Jan 13, 2016 12:10 PM by Jon Tara

    Rhode gems under MAC

    charbel succar

      hi,

      am a beginner in Macintosh, and i am trying to install the rhomobile suite on my mac machine,

      i have followed the instructions of the official rhomobile website section MAC OS under the following link : http://docs.rhomobile.com/en/2.2.0/rhomobile-install
      everything seems ok and the installation of the gems is done, but i can't find the gems location, even i search them under the macintosh HD drive / library / ruby   but i didn't find them.

      if i run the "gem list" in the terminal, i can see the gems listed there.

       

      please advise on how to find the installed gems. and if there is a  missing steps to do

       

      Thank you in advance,

        • Re: Rhode gems under MAC
          Pietro Francesco Maggi

          Hi Charbel,

          Which version have you installed? The documentation's link you used is pretty old. the latest one is v5.3:

          Rhomobile | Install RhoMobile Suite

           

          Back to your question. To know where a gem has been installed you can ask, gently, to gem itself using the command:

           

          gem contents <name of the gem you're interested>
          

           

          Hope that this helps.

           

          Ciao

          ~PIetro

          • Re: Rhode gems under MAC
            Jon Tara

            I wouldn't recommend using 2.2, as it is quite old, and doesn't support either current build tools or current devices.

             

            Most developers don't use the OSX built-in Ruby, instead opting to install one or more Ruby versions using rvm:

             

                https://rvm.io/

             

            rvm also allows you to maintain multiple "gemsets", which I highly recommend. It keeps sets of Gems separate and provides means to easily switch between them. It avoids all sorts of nasty compatibility issues when you try to install all the Gems you might use for different purposes all in the default Ruby.

             

            I create a different GemSet for each version of Rhodes. (As sometimes I need to switch to an older version to support existing projects that aren't quite up-to-date with the latest Rhodes.)

             

            You'll find some information about rvm and Gemsets in the online RhoMobile Suite documentation.