Forum: Ruby rake -v

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
295c833defc42e6ecb786f6df652d550?d=identicon&s=25 DAP (Guest)
on 2006-04-03 16:14
(Received via mailing list)
I just used Gem to install version 0.7.1 of Rake. When I try to get
Rake to report it's version, it aborts. Here is a listing:

C:\Documents and Settings\dap>rake -v
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
`load_rakefile'
(See full trace by running task with --trace)

C:\Documents and Settings\dap>

Anyone have an idea why this is happening? Know of a way to fix it? I
assume if this is broke on my Rake install, there will be other things
that are not working with my installed Rake.

Don
2899cec9af525f7953e19c8210aca97c?d=identicon&s=25 Jason Perkins (Guest)
on 2006-04-03 16:17
(Received via mailing list)
On Apr 3, 2006, at 9:13 AM, DAP wrote:

> I just used Gem to install version 0.7.1 of Rake. When I try to get
> Rake to report it's version, it aborts. Here is a listing:
>
> C:\Documents and Settings\dap>rake -v
> rake aborted!

try:
rake --version

--
Jason Perkins
jperkins@sneer.org

"The computer allows you to make mistakes
faster than any other invention, with the
possible exception of handguns and tequila."
Bc6d88907ce09158581fbb9b469a35a3?d=identicon&s=25 James Britt (Guest)
on 2006-04-03 16:20
(Received via mailing list)
DAP wrote:
> I just used Gem to install version 0.7.1 of Rake. When I try to get
> Rake to report it's version, it aborts. Here is a listing:

d:\development>rake -V
rake, version 0.7.0.4

Uppercase 'V' works.

little 'v' means 'verbose'



--
James Britt

"The greatest obstacle to discovery is not ignorance, but the illusion
of knowledge."
  - D. Boorstin
295c833defc42e6ecb786f6df652d550?d=identicon&s=25 DAP (Guest)
on 2006-04-03 16:35
(Received via mailing list)
TADA!!!

Both suggestions worked great.

Thanks.

Don
This topic is locked and can not be replied to.