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 12:57 AM, Ravi B. <ravibaswant.in@gmail.com> 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
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 1:04 AM, Ravi B. <ravibaswant.in@gmail.com> wrote:
Hi,I am new to ruby development and I got error while debugging
rake aborted!
Just to perfect the confusion: it can also be called "something.rake".
···
On Thu, Sep 15, 2011 at 8:16 AM, Josh Cheek <josh.cheek@gmail.com> 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.
--
Phillip Gawlowski
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
And you can also invoke it from a subdirectory ;)~
···
On Thu, Sep 15, 2011 at 2:26 AM, Phillip Gawlowski <cmdjackryan@gmail.com>wrote:
On Thu, Sep 15, 2011 at 8:16 AM, Josh Cheek <josh.cheek@gmail.com> 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".