Forum: Ruby on Rails rake test errors

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.
Gregg Housh (Guest)
on 2006-04-14 22:18
(Received via mailing list)
I have Rails 1.1.2, ruby 1.8.4 and gentoo linux running kernel 2.6.15.

Here are the errors:

gregg@gregg2 ~/user/DMS $ rake test
(in /home/gregg/user/DMS)
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:2: warning: method redefined; discarding old []=
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:11: warning: method redefined; discarding old []
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:16: warning: method redefined; discarding old keys
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:21: warning: method redefined; discarding old
find_pair
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:28: warning: method redefined; discarding old []=
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:32: warning: method redefined; discarding old []
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:36: warning: method redefined; discarding old
method_missing
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/
validations.rb:334: warning: `*' interpreted as argument prefix
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/
validations.rb:363: warning: `*' interpreted as argument prefix
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/
migration.rb:224: warning: instance variable @ignore_new_methods not
initialized
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/
migration.rb:224: warning: instance variable @ignore_new_methods not
initialized
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/
connection_adapters/abstract/connection_specification.rb:41: warning:
method redefined; discarding old allow_concurrency=
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/
connection_adapters/sqlserver_adapter.rb:456: warning: method redefined;
discarding old remove_column
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/
connection_adapters/oracle_adapter.rb:119: warning: (...) interpreted as
grouped expression
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/
request.rb:169: warning: method redefined; discarding old
relative_url_root
/usr/lib/ruby/1.8/cgi/session/pstore.rb:17: warning: method redefined;
discarding old []=
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/
cgi_ext/raw_post_data_fix.rb:57: warning: ambiguous first argument; put
parentheses or even spaces
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/
cgi_ext/raw_post_data_fix.rb:8: warning: method redefined; discarding
old initialize_query
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/
session/active_record_store.rb:129: warning: private attribute?
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/
session/active_record_store.rb:179: warning: method redefined;
discarding old connection
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/helpers/
prototype_helper.rb:640: warning: ambiguous first argument; put
parentheses or even spaces
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/helpers/
prototype_helper.rb:873: warning: `*' interpreted as argument prefix
/usr/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/vendor/
tmail/facade.rb:486: warning: method redefined; discarding old
create_reply
/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/
action_web_service/protocol/xmlrpc_protocol.rb:6: warning: discarding
old message
/usr/bin/ruby18 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/
rake/rake_test_loader.rb"
/usr/bin/ruby18 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/
rake/rake_test_loader.rb"
/usr/bin/ruby18 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/
rake/rake_test_loader.rb"
gregg@gregg2 ~/user/DMS $

-------------------------------


Anyone have any ideas?
Eric H. (Guest)
on 2006-04-20 01:59
(Received via mailing list)
On Apr 14, 2006, at 11:17 AM, Gregg Housh wrote:

> /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
> method_missing
> /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/
> old initialize_query
> /usr/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/
> lib/
> rake/rake_test_loader.rb"
> /usr/bin/ruby18 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/
> lib/
> rake/rake_test_loader.rb"
> gregg@gregg2 ~/user/DMS $
>
> -------------------------------
>
>
> Anyone have any ideas?

Those aren't errors.  Those are warnings.  Somewhere you turned on -w.

Do you have any tests?

--
Eric H. - removed_email_address@domain.invalid - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com
This topic is locked and can not be replied to.