[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Rake 0.7.1 aborted! Test failures

Dave Kennedy

12/5/2006 6:15:00 AM

Hi,
1. gem install --remote rake
2. rake --trace
3. Rake aborted! Test failures

Any help would be greatly appreciated on fixing/testing rake installation

C:\Documents and Settings\Dave>cd C:\Documents and
Settings\Dave\workspace\demo

C:\Documents and Settings\Dave\workspace\demo>dir
Volume in drive C has no label.
Volume Serial Number is D035-74F4

Directory of C:\Documents and Settings\Dave\workspace\demo

11/30/2006 10:20 PM <DIR> .
11/30/2006 10:20 PM <DIR> ..
11/30/2006 10:19 PM 440 .project
11/30/2006 10:20 PM <DIR> app
11/30/2006 10:20 PM <DIR> components
12/04/2006 04:55 PM <DIR> config
12/04/2006 04:59 PM <DIR> db
11/30/2006 10:20 PM <DIR> doc
11/30/2006 10:20 PM <DIR> lib
11/30/2006 10:20 PM <DIR> log
12/04/2006 04:46 PM <DIR> public
11/30/2006 10:20 PM 307 Rakefile
11/30/2006 10:20 PM 7,353 README
11/30/2006 10:20 PM <DIR> script
11/30/2006 10:20 PM <DIR> test
11/30/2006 10:20 PM <DIR> tmp
11/30/2006 10:20 PM <DIR> vendor
3 File(s) 8,100 bytes
14 Dir(s) 9,154,514,944 bytes free

C:\Documents and Settings\Dave\workspace\demo>type rakefile
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be
available to Rake.

require(File.join(File.dirname(__FILE__), 'config', 'boot'))

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

require 'tasks/rails'

C:\Documents and Settings\Dave\workspace\demo>gem install --remote rake
Successfully installed rake-0.7.1
Installing ri documentation for rake-0.7.1...
Installing RDoc documentation for rake-0.7.1...

C:\Documents and Settings\Dave\workspace\demo>rake --trace
(in C:/Documents and Settings/Dave/workspace/demo)
** Invoke default (first_time)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke test:functionals (first_time)
** Invoke db:test:prepare
** Execute test:functionals
c:/ruby/bin/ruby -Ilib;test
"c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/
rake_test_loader.rb" "test/functional/say_controller_test.rb"
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/depend
enci
es.rb:123:in `const_missing': uninitialized constant Engines (NameError)
from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_suppo
rt/dependencies.rb:131:in `const_missing'
from C:/Documents and
Settings/Dave/workspace/demo/config/environment.rb
:57
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`ge
m_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`re
quire'
from ./test/functional/../test_helper.rb:2
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`ge
m_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`re
quire'
from ./test/functional/say_controller_test.rb:1
from
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
rb:5:in `load'
from
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
rb:5
from
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
rb:5:in `each'
from
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
rb:5
** Invoke test:integration (first_time)
** Invoke db:test:prepare
** Execute test:integration
c:/ruby/bin/ruby -Ilib;test
"c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/
rake_test_loader.rb"
rake aborted!
Test failures
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/tasks/testing.rake:35
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `call'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `each'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke'
c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in
`invoke_prerequisites'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `send'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in
`invoke_prerequisites'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke'
c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `each'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
c:/ruby/bin/rake.bat:25:in `load'
c:/ruby/bin/rake.bat:25


C:\Documents and Settings\Dave\workspace\demo>

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.15.7/569 - Release Date: 12/5/2006
3:00 AM



4 Answers

james.adam

12/5/2006 9:25:00 AM

0

It sounds like your environment.rb is expecting the engines plugin to
be installed. Is it in /vendor/plugins?

- James

On 12/5/06, Dave Kennedy <davek@dksy.net> wrote:
> Hi,
> 1. gem install --remote rake
> 2. rake --trace
> 3. Rake aborted! Test failures
>
> Any help would be greatly appreciated on fixing/testing rake installation
>
> C:\Documents and Settings\Dave>cd C:\Documents and
> Settings\Dave\workspace\demo
>
> C:\Documents and Settings\Dave\workspace\demo>dir
> Volume in drive C has no label.
> Volume Serial Number is D035-74F4
>
> Directory of C:\Documents and Settings\Dave\workspace\demo
>
> 11/30/2006 10:20 PM <DIR> .
> 11/30/2006 10:20 PM <DIR> ..
> 11/30/2006 10:19 PM 440 .project
> 11/30/2006 10:20 PM <DIR> app
> 11/30/2006 10:20 PM <DIR> components
> 12/04/2006 04:55 PM <DIR> config
> 12/04/2006 04:59 PM <DIR> db
> 11/30/2006 10:20 PM <DIR> doc
> 11/30/2006 10:20 PM <DIR> lib
> 11/30/2006 10:20 PM <DIR> log
> 12/04/2006 04:46 PM <DIR> public
> 11/30/2006 10:20 PM 307 Rakefile
> 11/30/2006 10:20 PM 7,353 README
> 11/30/2006 10:20 PM <DIR> script
> 11/30/2006 10:20 PM <DIR> test
> 11/30/2006 10:20 PM <DIR> tmp
> 11/30/2006 10:20 PM <DIR> vendor
> 3 File(s) 8,100 bytes
> 14 Dir(s) 9,154,514,944 bytes free
>
> C:\Documents and Settings\Dave\workspace\demo>type rakefile
> # Add your own tasks in files placed in lib/tasks ending in .rake,
> # for example lib/tasks/capistrano.rake, and they will automatically be
> available to Rake.
>
> require(File.join(File.dirname(__FILE__), 'config', 'boot'))
>
> require 'rake'
> require 'rake/testtask'
> require 'rake/rdoctask'
>
> require 'tasks/rails'
>
> C:\Documents and Settings\Dave\workspace\demo>gem install --remote rake
> Successfully installed rake-0.7.1
> Installing ri documentation for rake-0.7.1...
> Installing RDoc documentation for rake-0.7.1...
>
> C:\Documents and Settings\Dave\workspace\demo>rake --trace
> (in C:/Documents and Settings/Dave/workspace/demo)
> ** Invoke default (first_time)
> ** Invoke test (first_time)
> ** Execute test
> ** Invoke test:units (first_time)
> ** Invoke db:test:prepare (first_time)
> ** Invoke environment (first_time)
> ** Execute environment
> ** Invoke test:functionals (first_time)
> ** Invoke db:test:prepare
> ** Execute test:functionals
> c:/ruby/bin/ruby -Ilib;test
> "c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/
> rake_test_loader.rb" "test/functional/say_controller_test.rb"
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/depend
> enci
> es.rb:123:in `const_missing': uninitialized constant Engines (NameError)
> from
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_suppo
> rt/dependencies.rb:131:in `const_missing'
> from C:/Documents and
> Settings/Dave/workspace/demo/config/environment.rb
> :57
> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `ge
> m_original_require'
> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `re
> quire'
> from ./test/functional/../test_helper.rb:2
> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `ge
> m_original_require'
> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `re
> quire'
> from ./test/functional/say_controller_test.rb:1
> from
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
> .rb:5:in `load'
> from
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
> .rb:5
> from
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
> .rb:5:in `each'
> from
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
> .rb:5
> ** Invoke test:integration (first_time)
> ** Invoke db:test:prepare
> ** Execute test:integration
> c:/ruby/bin/ruby -Ilib;test
> "c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/
> rake_test_loader.rb"
> rake aborted!
> Test failures
> c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/tasks/testing.rake:35
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `each'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke'
> c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in
> `invoke_prerequisites'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `send'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in
> `invoke_prerequisites'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke'
> c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `each'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
> c:/ruby/bin/rake.bat:25:in `load'
> c:/ruby/bin/rake.bat:25
>
>
> C:\Documents and Settings\Dave\workspace\demo>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.430 / Virus Database: 268.15.7/569 - Release Date: 12/5/2006
> 3:00 AM
>
>
>
>


--
* J *
~

MCP

3/18/2013 3:32:00 PM

0

On 03/18/2013 06:43 AM, MCP wrote:
>
> Message-ID: <ki6imp$kg5$1@speranza.aioe.org>
> References: <1vy1t.117533$Dm1.97565@fx01.fr7>
> NNTP-Posting-Host: E3GpehaOqNDcX58VxkjYqw.user.speranza.aioe.org
> Mime-Version: 1.0
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> X-Complaints-To: abuse@aioe.org
>
> And yet ANOTHER forged chidish rant by the resident asshole.
>
> MCP

Message-ID: <ldC1t.38698$%c5.4222@fx19.fr7>
References: <1vy1t.117533$Dm1.97565@fx01.fr7>
<ki6imp$kg5$1@speranza.aioe.org>
NNTP-Posting-Host: 92.238.90.126
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: http://netreport.virgi...

MCP

Masculist

3/18/2013 6:51:00 PM

0

On Monday, March 18, 2013 3:43:26 AM UTC-7, MCP wrote:
> On 18/03/2013 08:18, Masculist wrote:
>
> > On 2013-03-18 02:29 AM, MCP wrote:
>
> >> .....have your drugs run out,retard?
>
> >>
>
> >> MCP (the real one)
>
> >
>
> > I've never understood what your problem is with Turin, MCP. I think you
>
> > need to give it a rest. I'm tired of your crap in this group anyway. I
>
> > don't think it's Turin anymore. I think it's you. You're a shithead,
>
> > MCP. I'm a Turin supporter now. Blow it out of your ass from now on.
>
> >
>
> > Tom
>
> >
>
>
>
> Message-ID: <ki6imp$kg5$1@speranza.aioe.org>
>
> References: <1vy1t.117533$Dm1.97565@fx01.fr7>
>
> NNTP-Posting-Host: E3GpehaOqNDcX58VxkjYqw.user.speranza.aioe.org
>
> Mime-Version: 1.0
>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Content-Transfer-Encoding: 7bit
>
> X-Complaints-To: abuse@aioe.org
>
>
>
> And yet ANOTHER forged chidish rant by the resident asshole.

Exactly. Poor Turdbrain has no life.

The "Authentic" Tom by Google. Ha! Eat your Turdbrain out Turd.

Tom

>
>
> MCP

MCP

3/18/2013 9:11:00 PM

0

On 03/18/2013 02:50 PM, Masculist wrote:

Complaints-To: http://netreport.virgi...


MCP