when i try to rub the command “rake test:units:rcov --trace” i get the
following message any suggestions thanks.
error i get :
C:\Projects\FranklinAnywhere>rake test:units:rcov --trace
(in C:/Projects/FranklinAnywhere)
** Invoke test:units:rcov (first_time)
** Invoke test:units:clobber_rcov (first_time)
** Execute test:units:clobber_rcov
rm -rf ./test/coverage/units
** Execute test:units:rcov
c:/ruby/bin/ruby.exe
“C:/Projects/FranklinAnywhere/vendor/plugins/rails_rcov/tasks/rails_rcov.rake”
–run-rake-task=test:units
I AM GETTING HEREEE!!!
(in C:/Projects/FranklinAnywhere)
[memcache-client] Could not load SystemTimer gem, falling back to Ruby’s
slower/unsafe timeout libra
ry: no such file to load – system_timer
** [NewRelic] NewRelic Agent Developer Mode enabled.
** [NewRelic] To view performance information, go to
http://localhost:3000/newrelic
** [NewRelic] New Relic RPM Agent 2.9.4 Initialized: pid = 5160
** [NewRelic] Agent Log found in
C:/Projects/FranklinAnywhere/log/newrelic_agent.log
uname: illegal option – p
Try `uname --help’ for more information.
GOT CONN_SPEC: {:database=>“famaster_test”, :password=>“FDMSQL1a”,
:adapter=>“mysql”, :host=>“olddev
“, :username=>“root”}
GOT TEST_CLASS: TestModelFamasterForPurge(Table doesn’t exist)
rcov -o “C:/Projects/FranklinAnywhere/coverage/units” -T -x
“rubygems/,rcov” --rails -I"lib;test”
“c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb”
“test/unit/activated_modul
e_test.rb” “test/unit/activity_test.rb” “test/unit/address_test.rb”
“test/unit/agenda_test.rb” “test
/unit/available_module_test.rb” “test/unit/bhr_test.rb”
“test/unit/company_information_test.rb” “tes
t/unit/company_logo_test.rb” “test/unit/company_test.rb”
“test/unit/customer_address_test.rb” “test/
unit/customer_contact_test.rb” “test/unit/customer_search_test.rb”
“test/unit/customer_test.rb” “tes
t/unit/department_test.rb” “test/unit/emailer_test.rb”
“test/unit/employee_columns_selected_test.rb”
“test/unit/employee_column_test.rb” “test/unit/employee_file_test.rb”
“test/unit/employee_search_te
st.rb” “test/unit/employee_setting_test.rb” “test/unit/employee_test.rb”
“test/unit/equipment_sectio
n_test.rb” “test/unit/formatting_helper_test.rb”
“test/unit/history_log_test.rb” “test/unit/job_test
.rb” “test/unit/origin_test.rb” “test/unit/position_test.rb”
“test/unit/postal_code_test.rb” “test/u
nit/profit_center_test.rb” “test/unit/recurring_agenda_test.rb”
“test/unit/security_group_test.rb” "
test/unit/shift_day_test.rb” “test/unit/shift_log_test.rb”
“test/unit/shift_note_test.rb” “test/unit
/shift_test.rb” “test/unit/status_test.rb”
“test/unit/subdepartment_test.rb” “test/unit/sub_job_test
.rb” “test/unit/time_log_test.rb” “test/unit/uploaded_file_test.rb”
“test/unit/wip_location_test.rb”
±---------------------------------------------------±------±------±-------+
| File | Lines | LOC | COV |
±---------------------------------------------------±------±------±-------+
|lib/class_extensions.rb | 42 | 36 | 30.6% |
±---------------------------------------------------±------±------±-------+
|Total | 42 | 36 | 30.6% |
±---------------------------------------------------±------±------±-------+
30.6% 1 file(s) 42 Lines 36 LOC
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/version.rb:92:in to_s': stack level too deep (SystemStackEr ror) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:105:in
as_list’
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:104:in collect' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:104:in
as_list’
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:99:in to_s' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:159:in
hash’
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/specification.rb:665:in hash' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
inject’
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/specification.rb:664:in each' ... 12126 levels... from c:/ruby/lib/ruby/gems/1.8/gems/rcov-0.8.1.1.0-x86-mswin32/bin/rcov:554:in
load’
from
c:/ruby/lib/ruby/gems/1.8/gems/rcov-0.8.1.1.0-x86-mswin32/bin/rcov:554
from c:/ruby/bin/rcov:19:in `load’
from c:/ruby/bin/rcov:19
rake aborted!
Command failed with status (1): [rcov -o
"C:/Projects/FranklinAnywhere/cove…]
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [c:/ruby/bin/ruby.exe
"C:/Projects/Franklin…]
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:995:in sh' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in
call’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in sh' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1094:in
sh’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1029:in ruby' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1094:in
ruby’
C:/Projects/FranklinAnywhere/vendor/plugins/rails_rcov/tasks/rails_rcov.rake:83:in
new_rcov_task' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:634:in
call’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:634:in execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
invoke_with_call_chain’
c:/ruby/lib/ruby/1.8/monitor.rb:242:in synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in invoke' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
invoke_task’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in
run’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in
run’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
c:/ruby/bin/rake:19:in `load’
c:/ruby/bin/rake:19