2 Replies Latest reply on May 5, 2016 5:45 AM by Dariusz Gardynski

    RMS 5.4 Install fail

    Dariusz Gardynski

      Hi!

      I have problem with install RMS. If I try install with ruby 1.9.3 i have "ruby_dep requires Ruby version >= 2.2.3, ~> 2.2." error. If i try ruby 2.3.1 i have rhodes install error - old json version (1.5.5). So i build rhodes with newer version of json, install it, run RhoStudio and get error with command "rake token:check" - Don't know how to build task 'token:check'. I can't connect to rhomobile.com from RhoStudio. I write user name and password, but all login attempts fail   . So i tried rake example by command, but:

      $ rake run:iphone:rhosimulator

      -$TIME$- message [ First timestamp ] time is { 2016-05-04T11:48:38Z } milliseconds from start (0)

      Starting rhodes build system using ruby version: 2.3.1

      -$TIME$- message [ config:common ] time is { 2016-05-04T11:48:38Z } milliseconds from start (3)

      rake aborted!

      NoMethodError: undefined method `[]' for nil:NilClass

      /Users/Darek/.rvm/gems/ruby-2.3.1/gems/rhodes-5.4.0/Rakefile:1956:in `block (2 levels) in <top (required)>'

      /Users/Darek/.rvm/gems/ruby-2.3.1/gems/rhodes-5.4.0/Rakefile:4278:in `invoke'

      Tasks: TOP => run:iphone:rhosimulator => config:common

      (See full trace by running task with --trace)

       

      What I do wrong? Why I can't normally install RMS and run example?

        • Re: RMS 5.4 Install fail
          BHAKTA RANJAN SATAPATHY

          Hello Dariusz,

           

          Kindly install listen gem (3.0.6) first under ruby-1.9.3, then install RMS.

           

          So you commands will be as follow

           

          $ rvm use 1.9.3

          $ gem install listen --version 3.0.6

           

          Then Install RMS by using Install Gems file available in RMS .dmg file.

           

          Thanks

          1 of 1 people found this helpful
            • Re: RMS 5.4 Install fail
              Dariusz Gardynski

              Thank You!

              BTW. I can't simulate blank/test/new app on iPhone 4s. On my iPhone app works great but not on simulator. Do You know how to fix it? Error code:

               

              objc[81315]: Class WebView is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy and /Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Bundle/Application/EDE5901B-DE0A-4FF8-B787-90F61A6F2B40/rhorunner.app/rhorunner. One of the two will be used. Which one is undefined.

              2016-05-05 13:20:20.860 rhorunner[81315:10163278] I 05/05/2016 13:20:20:859 09628000 BundleManager.cpp:1293| rho_sys_check_rollback_bundle()

              2016-05-05 13:20:20.861 rhorunner[81315:10163278] T 05/05/2016 13:20:20:860 09628000 BundleManager.cpp: 459| FileTransaction is rolling back: /Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Data/Application/62733CF2-626C-43F6-83F6-F4ECEEFBB124/Library/Caches/Private Documents/apps

              2016-05-05 13:20:20.861 rhorunner[81315:10163278] didFinishLaunchingWithOptions: (null)

              2016-05-05 13:20:20.861 rhorunner[81315:10163278] Rhodes starting application...

              2016-05-05 13:20:20.863 rhorunner[81315:10163278] Init logconf

              2016-05-05 13:20:20.863 rhorunner[81315:10163278] Create new detached thread for initialization stuff

              2016-05-05 13:20:20.863 rhorunner[81315:10163278] Init all windows

              2016-05-05 13:20:20.863 rhorunner[81315:10163529] Init appManager

              2016-05-05 13:20:20.864 rhorunner[81315:10163529] filePath1: /Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Bundle/Application/EDE5901B-DE0A-4FF8-B787-90F61A6F2B40/rhorunner.app/name

              2016-05-05 13:20:20.864 rhorunner[81315:10163529] filePath2: /Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Data/Application/62733CF2-626C-43F6-83F6-F4ECEEFBB124/Library/Caches/Private Documents/name

              2016-05-05 13:20:20.865 rhorunner[81315:10163529]  Lib File is NOT Exist: /Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Data/Application/62733CF2-626C-43F6-83F6-F4ECEEFBB124/Library/Caches/Private Documents/lib

              2016-05-05 13:20:20.865 rhorunner[81315:10163278] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Data/Application/62733CF2-626C-43F6-83F6-F4ECEEFBB124/Library/Cookies/com.rhomobile.storemanager.binarycookies

              2016-05-05 13:20:20.865 rhorunner[81315:10163529] src: /Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Bundle/Application/EDE5901B-DE0A-4FF8-B787-90F61A6F2B40/rhorunner.app/lib

              2016-05-05 13:20:20.866 rhorunner[81315:10163529] dst: /Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Data/Application/62733CF2-626C-43F6-83F6-F4ECEEFBB124/Library/Caches/Private Documents/lib

              2016-05-05 13:20:20.866 rhorunner[81315:10163529] src: /Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Bundle/Application/EDE5901B-DE0A-4FF8-B787-90F61A6F2B40/rhorunner.app/apps

              2016-05-05 13:20:20.866 rhorunner[81315:10163529] dst: /Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Data/Application/62733CF2-626C-43F6-83F6-F4ECEEFBB124/Library/Caches/Private Documents/apps

              2016-05-05 13:20:20.867 rhorunner[81315:10163529]  .. src: /Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Bundle/Application/EDE5901B-DE0A-4FF8-B787-90F61A6F2B40/rhorunner.app/apps/app

              2016-05-05 13:20:20.867 rhorunner[81315:10163529]  .. dst: /Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Data/Application/62733CF2-626C-43F6-83F6-F4ECEEFBB124/Library/Caches/Private Documents/apps/app

              2016-05-05 13:20:20.867 rhorunner[81315:10163529]  .. src: /Users/Darek/Library/Developer/CoreSimulator/Devices/6F2A74FF-9703-4E89-8580-43390A03C5FE/data/Containers/Bundle/Application/EDE5901B-DE0A-4FF8-B787-90F61A6F2B40/rhorunner.app/apps/app_manifest.txt

              Assertion failed: ([root retainCount] == 1), function -[SimpleMainView loadView], file /Users/Darek/.rvm/gems/ruby-1.9.3-p551/gems/rhodes-5.4.0/platform/iphone/Classes/SimpleMainView.m, line 508.