[rspec-devel] Is the pre_commit passing?

Chris Parsons chris at edendevelopment.co.uk
Thu Apr 17 17:18:24 EDT 2008


On 16 Apr 2008, at 11:52, David Chelimsky wrote:

>> On Wed, Apr 9, 2008 at 1:48 PM, David Chelimsky  
>> <dchelimsky at gmail.com>
>> wrote:
>>
>>     The pre_commit is not working correctly right now. We're working
>> on it though.
>>

[snip]

> It should be working right now. There are a couple of things that are
> commented that I have to address, but you should be able to run it.

I've just done a clean clone from the github repo and am trying to get  
pre_commit passing.

I've followed the instructions carefully on http://github.com/dchelimsky/rspec-dev/wikis/contributingpatches 
  and am getting an odd error (trace copied at bottom of email).

Is this a good time to be getting a local dev environment up and  
running, or are you guys still working on the repo?

Also, if I've got some coding time to burn, is there a particular  
priority order of tickets that I should work on in lighthouse?

Thanks
Chris

Trace from pre_commit:

** Invoke spec_html (first_time)
** Execute spec_html
/Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/rspec/lib/ 
spec/runner/formatter/base_text_formatter.rb:17:in `initialize': No  
such file or directory - ../../../../doc/output/report.html  
(Errno::ENOENT)
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/formatter/base_text_formatter.rb:17:in `open'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/formatter/base_text_formatter.rb:17:in  
`initialize'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/formatter/html_formatter.rb:11:in `initialize'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/options.rb:173:in `new'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/options.rb:173:in `load_formatters'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/options.rb:166:in `map'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/options.rb:166:in `load_formatters'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/options.rb:157:in `formatters'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/reporter.rb:70:in `formatters'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/reporter.rb:57:in `dump'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/example_group_runner.rb:37:in `finish'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/example_group_runner.rb:26:in `run'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/options.rb:94:in `run_examples'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/lib/spec/runner/command_line.rb:19:in `run'
	from /Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/ 
rspec/bin/spec:4
rake aborted!
Command ruby -I"/Users/chris/src/rspec-dev/example_rails_app/vendor/ 
plugins/rspec/lib" "/Users/chris/src/rspec-dev/example_rails_app/ 
vendor/plugins/rspec/bin/spec" "spec/autotest/discover_spec.rb" "spec/ 
autotest/rspec_spec.rb" "spec/spec/example/configuration_spec.rb"  
"spec/spec/example/example_group/described_module_spec.rb" "spec/spec/ 
example/example_group/warning_messages_spec.rb" "spec/spec/example/ 
example_group_class_definition_spec.rb" "spec/spec/example/ 
example_group_factory_spec.rb" "spec/spec/example/ 
example_group_methods_spec.rb" "spec/spec/example/ 
example_group_spec.rb" "spec/spec/example/example_matcher_spec.rb"  
"spec/spec/example/example_methods_spec.rb" "spec/spec/example/ 
example_runner_spec.rb" "spec/spec/example/example_spec.rb" "spec/spec/ 
example/nested_example_group_spec.rb" "spec/spec/example/ 
pending_module_spec.rb" "spec/spec/example/predicate_matcher_spec.rb"  
"spec/spec/example/shared_example_group_spec.rb" "spec/spec/example/ 
subclassing_example_group_spec.rb" "spec/spec/expectations/differs/ 
default_spec.rb" "spec/spec/expectations/extensions/object_spec.rb"  
"spec/spec/expectations/fail_with_spec.rb" "spec/spec/extensions/ 
main_spec.rb" "spec/spec/interop/test/unit/spec_spec.rb" "spec/spec/ 
interop/test/unit/testcase_spec.rb" "spec/spec/interop/test/unit/ 
testsuite_adapter_spec.rb" "spec/spec/matchers/be_close_spec.rb" "spec/ 
spec/matchers/be_spec.rb" "spec/spec/matchers/change_spec.rb" "spec/ 
spec/matchers/description_generation_spec.rb" "spec/spec/matchers/ 
eql_spec.rb" "spec/spec/matchers/equal_spec.rb" "spec/spec/matchers/ 
exist_spec.rb" "spec/spec/matchers/handler_spec.rb" "spec/spec/ 
matchers/has_spec.rb" "spec/spec/matchers/have_spec.rb" "spec/spec/ 
matchers/include_spec.rb" "spec/spec/matchers/match_spec.rb" "spec/ 
spec/matchers/matcher_methods_spec.rb" "spec/spec/matchers/ 
mock_constraint_matchers_spec.rb" "spec/spec/matchers/ 
operator_matcher_spec.rb" "spec/spec/matchers/raise_error_spec.rb"  
"spec/spec/matchers/respond_to_spec.rb" "spec/spec/matchers/ 
satisfy_spec.rb" "spec/spec/matchers/simple_matcher_spec.rb" "spec/ 
spec/matchers/throw_symbol_spec.rb" "spec/spec/mocks/ 
any_number_of_times_spec.rb" "spec/spec/mocks/ 
argument_expectation_spec.rb" "spec/spec/mocks/at_least_spec.rb" "spec/ 
spec/mocks/at_most_spec.rb" "spec/spec/mocks/bug_report_10260_spec.rb"  
"spec/spec/mocks/bug_report_10263_spec.rb" "spec/spec/mocks/ 
bug_report_11545_spec.rb" "spec/spec/mocks/bug_report_15719_spec.rb"  
"spec/spec/mocks/bug_report_7611_spec.rb" "spec/spec/mocks/ 
bug_report_7805_spec.rb" "spec/spec/mocks/bug_report_8165_spec.rb"  
"spec/spec/mocks/bug_report_8302_spec.rb" "spec/spec/mocks/ 
failing_mock_argument_constraints_spec.rb" "spec/spec/mocks/ 
hash_including_matcher_spec.rb" "spec/spec/mocks/ 
mock_ordering_spec.rb" "spec/spec/mocks/mock_space_spec.rb" "spec/spec/ 
mocks/mock_spec.rb" "spec/spec/mocks/multiple_return_value_spec.rb"  
"spec/spec/mocks/null_object_mock_spec.rb" "spec/spec/mocks/ 
once_counts_spec.rb" "spec/spec/mocks/options_hash_spec.rb" "spec/spec/ 
mocks/partial_mock_spec.rb" "spec/spec/mocks/ 
partial_mock_using_mocks_directly_spec.rb" "spec/spec/mocks/ 
passing_mock_argument_constraints_spec.rb" "spec/spec/mocks/ 
precise_counts_spec.rb" "spec/spec/mocks/record_messages_spec.rb"  
"spec/spec/mocks/stub_spec.rb" "spec/spec/mocks/twice_counts_spec.rb"  
"spec/spec/package/bin_spec_spec.rb" "spec/spec/runner/ 
class_and_argument_parser_spec.rb" "spec/spec/runner/ 
command_line_spec.rb" "spec/spec/runner/drb_command_line_spec.rb"  
"spec/spec/runner/execution_context_spec.rb" "spec/spec/runner/ 
formatter/failing_example_groups_formatter_spec.rb" "spec/spec/runner/ 
formatter/failing_examples_formatter_spec.rb" "spec/spec/runner/ 
formatter/html_formatter_spec.rb" "spec/spec/runner/formatter/ 
profile_formatter_spec.rb" "spec/spec/runner/formatter/ 
progress_bar_formatter_spec.rb" "spec/spec/runner/formatter/ 
snippet_extractor_spec.rb" "spec/spec/runner/formatter/ 
spec_mate_formatter_spec.rb" "spec/spec/runner/formatter/ 
specdoc_formatter_spec.rb" "spec/spec/runner/formatter/story/ 
html_formatter_spec.rb" "spec/spec/runner/formatter/story/ 
plain_text_formatter_spec.rb" "spec/spec/runner/heckle_runner_spec.rb"  
"spec/spec/runner/heckler_spec.rb" "spec/spec/runner/ 
noisy_backtrace_tweaker_spec.rb" "spec/spec/runner/ 
option_parser_spec.rb" "spec/spec/runner/options_spec.rb" "spec/spec/ 
runner/output_one_time_spec.rb" "spec/spec/runner/ 
quiet_backtrace_tweaker_spec.rb" "spec/spec/runner/reporter_spec.rb"  
"spec/spec/runner/resources/a_spec.rb" "spec/spec/runner/ 
spec_parser_spec.rb" "spec/spec/runner_spec.rb" "spec/spec/story/ 
extensions/main_spec.rb" "spec/spec/story/extensions_spec.rb" "spec/ 
spec/story/given_scenario_spec.rb" "spec/spec/story/runner/ 
plain_text_story_runner_spec.rb" "spec/spec/story/runner/ 
scenario_collector_spec.rb" "spec/spec/story/runner/ 
scenario_runner_spec.rb" "spec/spec/story/runner/ 
story_mediator_spec.rb" "spec/spec/story/runner/story_parser_spec.rb"  
"spec/spec/story/runner/story_runner_spec.rb" "spec/spec/story/ 
runner_spec.rb" "spec/spec/story/scenario_spec.rb" "spec/spec/story/ 
step_group_spec.rb" "spec/spec/story/step_mother_spec.rb" "spec/spec/ 
story/step_spec.rb" "spec/spec/story/story_spec.rb" "spec/spec/story/ 
world_spec.rb" "spec/spec/translator_spec.rb" --format  
html:../../../../doc/output/report.html --backtrace failed
./lib/spec/rake/spectask.rb:184:in `define'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1003:in `verbose'
./lib/spec/rake/spectask.rb:153:in `define'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in  
`invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in  
`invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke'
/Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/rspec/ 
pre_commit/lib/pre_commit/pre_commit.rb:9:in `rake_invoke'
/Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/rspec/ 
pre_commit/lib/pre_commit/core.rb:10:in `website'
/Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/rspec/ 
pre_commit/lib/pre_commit/core.rb:4:in `pre_commit'
/Users/chris/src/rspec-dev/example_rails_app/vendor/plugins/rspec/ 
rakefile:162
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in  
`invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in  
`invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in  
`standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in  
`standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19
rake aborted!
RSpec Core pre_commit failed
/Users/chris/src/rspec-dev/rakefile:24
(See full trace by running task with --trace)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20080417/f805590f/attachment-0001.html 


More information about the rspec-devel mailing list