Closed oleksify closed 13 years ago
Can you try rm -rf ~/Developer
and try running it again? That's a pretty cryptic stacktrace.
Nope, tha dosn't help. Only commenting this command: "Installing homebrew[git] version 1.7.4.4" from default.rb recipe helps.
What versioni of OSX? What rubygems version and what's the output from gcc --version
?
OSX: 10.6.7 gem: 1.6.2 gcc: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
I manage to use it by commenting failing aprt and then uncommenting and running again. Everything works. Jus weird.
NFO: Setting the run_list to ["homebrew", "homebrew::dbs", "homebrew::misc", "git", "ruby", "ruby::irbrc", "python", "erlang", "node", "mvim"] from JSON INFO: Starting Chef Run (Version 0.9.12) INFO: Creating directory[/Users/inmacinmac/Developer] at /Users/inmacinmac/Developer INFO: Ran execute[download homebrew installer] successfully INFO: Ran script[install_something] successfully INFO: Ran execute[include cinderella environment into defaults for ~/.bash_profile] successfully INFO: Ran execute[include cinderella environment into defaults for ~/.bashrc] successfully INFO: Ran execute[include cinderella environment into defaults for ~/.zshrc] successfully INFO: Installing homebrew[git] version 1.7.4.4 ERROR: script[updating homebrew from github](/Volumes/data/Install/smeagol/cookbooks/homebrew/recipes/default.rb:59:in
from_file') had an error: "bash" "/var/folders/L9/L9uNNxO3EcCIlvqYjLfXR++++TI/-Tmp-/chef-script20110413-56341-1k2he2-0" returned 1, expected 0 /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:184:in
handle_command_failures' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:131:inrun_command' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/execute.rb:49:in
action_run' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/script.rb:33:inaction_run' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in
send' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:inrun_action' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:53:in
run_action' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:inconverge' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in
each' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:inconverge' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:94:in
execute_each_resource' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:incall' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in
call_iterator_block' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:instep' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in
iterate' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:92:in
execute_each_resource' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:84:inconverge' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:268:in
converge' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:158:inrun' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:190:in
run_application' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:inloop' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:in
run_application' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application.rb:62:inrun' /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/chef-solo:25 /usr/bin/chef-solo:19:in
load' /usr/bin/chef-solo:19 ERROR: Running exception handlers ERROR: Exception handlers complete /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:184:inhandle_command_failures': "bash" "/var/folders/L9/L9uNNxO3EcCIlvqYjLfXR++++TI/-Tmp-/chef-script20110413-56341-1k2he2-0" returned 1, expected 0 (Chef::Exceptions::Exec) from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:131:in
run_command' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/execute.rb:49:inaction_run' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/script.rb:33:in
action_run' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:insend' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in
run_action' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:53:inrun_action' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in
converge' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:ineach' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in
converge' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:94:inexecute_each_resource' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in
call' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:incall_iterator_block' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in
step' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:initerate' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in
each_with_index' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:92:inexecute_each_resource' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:84:in
converge' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:268:inconverge' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:158:in
run' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:190:inrun_application' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:in
loop' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:inrun_application' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application.rb:62:in
run' from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/chef-solo:25 from /usr/bin/chef-solo:19:in`load' from /usr/bin/chef-solo:19