Rake aborted!

Hi I am new to the ruby language in rhomobile application and when I
execute the command $ rake

run:bb it shown rake aborted and specify no rake file.anyone knows give
suggestion

Hi I am new to the ruby language in rhomobile application and when I
execute the command $ rake

run:bb it shown rake aborted and specify no rake file.anyone knows give
suggestion

Hi I am new to the ruby language in rhomobile application and when I
execute the command $ rake

run:bb it shown rake aborted and specify no rake file.anyone knows give
suggestion

Hi,I am new to ruby development and I got error while debugging
rake aborted!

undefined method '[]'nil:nilclass

Hi I am new to the ruby language in rhomobile application and when I
execute the command $ rake

run:bb it shown rake aborted and specify no rake file.anyone knows give
suggestion

On Thu, Sep 15, 2011 at 12:57 AM, Ravi B. [email protected]
wrote:

Hi I am new to the ruby language in rhomobile application and when I
execute the command $ rake

run:bb it shown rake aborted and specify no rake file.anyone knows give
suggestion

You must execute the rake command from within the directory containing
your
application. This directory will have a file called a rakefile, probably
Rakefile, or Rakefile.rb or something along those lines. The rake
command
looks in your current directory, discovers this file, and reads it to
determine what tasks are available to you (ie the run:bb task).

Since it cannot find the rake file, you must not be in your project’s
directory.

On Thu, Sep 15, 2011 at 1:04 AM, Ravi B. [email protected]
wrote:

Hi,I am new to ruby development and I got error while debugging
rake aborted!

undefined method '[]'nil:nilclass

Attachments:
http://www.ruby-forum.com/attachment/6601/male4.jpg

  1. Why did you attach an image of some guy?
  2. I don’t understand the title, what causes you to think your error has
    anything to do with git?
  3. What was the rake command you ran?
  4. Rerun the rake command with the --trace flag (ie if you previously
    ran
    rake run:bb then run it as rake run:bb --trace) and when it breaks,
    it
    will display a long set of filenames and line numbers called a stack
    trace
    that tells you what methods were called before the system broke. Display
    the
    stack trace here.

Probably Rake uses some code you (or whoever gave you the Rakefile)
wrote
that either has a bug, or is expecting some precondition to be met,
which
you aren’t meeting.

On Thu, Sep 15, 2011 at 8:16 AM, Josh C. [email protected]
wrote:

You must execute the rake command from within the directory containing your
application. This directory will have a file called a rakefile, probably
Rakefile, or Rakefile.rb or something along those lines.

Just to perfect the confusion: it can also be called “something.rake”.


Phillip G.

gplus.to/phgaw | twitter.com/phgaw

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
– Leibniz

On Thu, Sep 15, 2011 at 2:26 AM, Phillip G.
[email protected]wrote:

On Thu, Sep 15, 2011 at 8:16 AM, Josh C. [email protected] wrote:

You must execute the rake command from within the directory containing
your
application. This directory will have a file called a rakefile, probably
Rakefile, or Rakefile.rb or something along those lines.

Just to perfect the confusion: it can also be called “something.rake”.

And you can also invoke it from a subdirectory ;)~