atmos / smeagol

guiding you through setting up an osx machine for open source ruby work
3 stars 1 forks source link

Install failing with this: #10

Closed oleksify closed 13 years ago

oleksify commented 13 years ago

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:inhandle_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:inaction_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:insend' /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:inrun_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:ineach' /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:inexecute_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:incall_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:initerate' /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:inexecute_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:inconverge' /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:inrun_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:inrun_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:inload' /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:inrun_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:inaction_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:inrun_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:inconverge' 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:inconverge' 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:incall' 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:instep' 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:ineach_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:inconverge' 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:inrun' 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:inloop' 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:inrun' 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

atmos commented 13 years ago

Can you try rm -rf ~/Developer and try running it again? That's a pretty cryptic stacktrace.

oleksify commented 13 years ago

Nope, tha dosn't help. Only commenting this command: "Installing homebrew[git] version 1.7.4.4" from default.rb recipe helps.

atmos commented 13 years ago

What versioni of OSX? What rubygems version and what's the output from gcc --version?

oleksify commented 13 years ago

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.