4 Replies Latest reply on Oct 23, 2014 7:50 AM by Pietro Francesco Maggi

    cannot load such file -- rest_client

    Junk Ukie

      Hello,

       

      I'm working on existing project built in RhoMobile Studio 4.1. I installed RhoMobile Studio 5 and opened existing project.

       

      When running the project I get the following error in console

       

      PWD: /Users/<user>/Documents/workspace/<project>

      CMD: rake token:check

      rake aborted!

      cannot load such file -- rest_client

      /Users/<user>/.rvm/gems/ruby-1.9.3-p547/gems/rhodes-5.0.2/lib/build/rhohub.rb:3:in `<top (required)>'

      /Users/<user>/.rvm/gems/ruby-1.9.3-p547/gems/rhodes-5.0.2/Rakefile:78:in `<top (required)>'

      /Users/<user>/Documents/workspace/<project>/Rakefile:36:in `load'

      /Users/<user>/Documents/workspace/<project>/Rakefile:36:in `<top (required)>'

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

       

      This is how rhohub.rb looks

       

      require "rubygems"

      require "json"

      require "rest_client" <-- this is the error

       

      When running gem list I see that rest-client is installed. In fact it is installed by "Install Gems" script provided by RhoMobile dmg.

       

      I'm asking for assistance and guidance in this regard, I'm not sure what to do to fix this error and already spent considerable amount of time on it.

       

      Thank you!