rake error

Rick Sivernell's Avatar

Rick Sivernell

18 Oct, 2010 10:39 PM

[rick@RSivernell storemanager]$ /usr/bin/rake run:iphone

/usr/lib/ruby/site_ruby/1.8/rubygems.rb:779:in `report_activate_error': Could not find RubyGem rake (>= 0) (Gem::LoadError)
    from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:214:in `activate'
    from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1082:in `gem'
    from /usr/bin/rake:18
[1]-  Done                    scite /usr/lib/ruby/gems/1.8/gems/rhodes-2.2.0/rhobuild.yml  (wd: ~)
(wd now: /swdev/src/Mobile/storemanager)
[2]+  Done                    scite app/index.erb
[rick@RSivernell storemanager]$ 
[rick@RSivernell storemanager]$ gem --version
1.3.7

How do I fix this, I am in storemanager directory, Linux Fedora 13, dual cpu with 4 gig of memory

  1. Support Staff 1 Posted by Nick Quaranto on 22 Oct, 2010 01:20 AM

    Nick Quaranto's Avatar

    Hi there,

    It looks like you need to run gem install rake.

  2. Nick Quaranto closed this discussion on 22 Oct, 2010 01:20 AM.

  3. Rick Sivernell re-opened this discussion on 22 Oct, 2010 01:58 PM

  4. 2 Posted by Rick Sivernell on 22 Oct, 2010 01:58 PM

    Rick Sivernell's Avatar

    [rick@RSivernell storemanager]$ type gem gem is /usr/bin/gem
    [rick@RSivernell storemanager]$ gem --version 1.3.7
    [rick@RSivernell storemanager]$ echo $RHO_HOME /usr/bin/rhodes/Rakefile [rick@RSivernell storemanager]$ set-rhodes-sdk /usr/lib64/ruby/gems/1.8/gems/rhodes-2.2.1/bin [rick@RSivernell storemanager]$ rake run:iphone (in /swdev/src/Mobile/storemanager)

    Cannot find your Rhodes gem or source path: /usr/bin/rhodes/Rakefile/Rakefile

    If you have the sdk on your path or have installed the gem this
    can be resolved by running 'set-rhodes-sdk'

    You can also set this manually by modifying your build.yml or
    setting the environment variable RHO_HOME
    [rick@RSivernell storemanager]$

    One other question, does rho require ruby for all code? If so, what ide or editor is used?

  5. 3 Posted by Rick Sivernell on 23 Oct, 2010 02:44 PM

    Rick Sivernell's Avatar

    On Thu, 21 Oct 2010 21:22:24 -0400
    "Nick Quaranto" <[email blocked]> wrote:

  6. Support Staff 4 Posted by Nick Quaranto on 28 Oct, 2010 04:01 PM

    Nick Quaranto's Avatar

    This sounds like a Rhomobile problem more so than with Rubygems...I would take it up with their mailing lists/support staff instead. thanks.

  7. Nick Quaranto closed this discussion on 28 Oct, 2010 04:01 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM
16 Oct, 2014 12:41 PM
06 Oct, 2014 02:30 PM