Skip to content

Instantly share code, notes, and snippets.

@mikestok
Created October 3, 2010 00:38
Show Gist options
  • Save mikestok/608146 to your computer and use it in GitHub Desktop.
Save mikestok/608146 to your computer and use it in GitHub Desktop.
Script started on Sat Oct 2 19:46:59 2010
bash-3.2$ ~/tmp/reinstall-cinderella.sh
+ rm -rf /Users/mike/.cinderella /Users/mike/.cinderella.log /Users/mike/.cinderella.profile '/Users/mike/.cider*' /Users/mike/Developer '/Users/mike/.rvm*'
+ perl -pi -e 's/(.*\.(?:cinderella|cider).*)/# $1/' /Users/mike/.profile /Users/mike/.bashrc
+ sudo rm -rf /usr/bin/cinderella /usr/bin/cider /Library/Ruby/Gems/1.8/cache /Library/Ruby/Gems/1.8/doc /Library/Ruby/Gems/1.8/gems /Library/Ruby/Gems/1.8/specifications
Password:
+ sudo gem cleanup
Cleaning up installed gems...
Attempting to uninstall rails-1.2.6
Unable to uninstall rails-1.2.6:
Gem::InstallError: cannot uninstall, check `gem list -d rails`
Attempting to uninstall actionmailer-1.3.6
Unable to uninstall actionmailer-1.3.6:
Gem::InstallError: cannot uninstall, check `gem list -d actionmailer`
Attempting to uninstall actionpack-1.13.6
Unable to uninstall actionpack-1.13.6:
Gem::InstallError: cannot uninstall, check `gem list -d actionpack`
Attempting to uninstall rails-2.2.2
Unable to uninstall rails-2.2.2:
Gem::InstallError: cannot uninstall, check `gem list -d rails`
Attempting to uninstall activeresource-2.2.2
Unable to uninstall activeresource-2.2.2:
Gem::InstallError: cannot uninstall, check `gem list -d activeresource`
Attempting to uninstall actionmailer-2.2.2
Unable to uninstall actionmailer-2.2.2:
Gem::InstallError: cannot uninstall, check `gem list -d actionmailer`
Attempting to uninstall actionpack-2.2.2
Unable to uninstall actionpack-2.2.2:
Gem::InstallError: cannot uninstall, check `gem list -d actionpack`
Attempting to uninstall activerecord-2.2.2
Unable to uninstall activerecord-2.2.2:
Gem::InstallError: cannot uninstall, check `gem list -d activerecord`
Attempting to uninstall activerecord-1.15.6
Unable to uninstall activerecord-1.15.6:
Gem::InstallError: cannot uninstall, check `gem list -d activerecord`
Attempting to uninstall activesupport-1.4.4
Unable to uninstall activesupport-1.4.4:
Gem::InstallError: cannot uninstall, check `gem list -d activesupport`
Attempting to uninstall activesupport-2.2.2
Unable to uninstall activesupport-2.2.2:
Gem::InstallError: cannot uninstall, check `gem list -d activesupport`
Attempting to uninstall net-sftp-1.1.1
Unable to uninstall net-sftp-1.1.1:
Gem::InstallError: cannot uninstall, check `gem list -d net-sftp`
Attempting to uninstall net-ssh-1.1.4
Unable to uninstall net-ssh-1.1.4:
Gem::InstallError: cannot uninstall, check `gem list -d net-ssh`
Clean Up Complete
+ curl http://github.com/atmos/cinderella/raw/master/bootstrap.sh -o -
+ sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
103 930 103 930 0 0 6131 0 --:--:-- --:--:-- --:--:-- 15500
Ensuring we have the latest version of cinderella installed
Cinderella installed successfully
[Sat, 02 Oct 2010 19:48:42 -0400] INFO: Setting the run_list to ["homebrew", "homebrew::dbs", "homebrew::misc", "ruby", "ruby::irbrc", "node", "python", "erlang"] from JSON
[Sat, 02 Oct 2010 19:48:42 -0400] INFO: Starting Chef Run (Version 0.9.8)
[Sat, 02 Oct 2010 19:48:42 -0400] INFO: Creating directory[/Users/mike/Developer] at /Users/mike/Developer
[Sat, 02 Oct 2010 19:48:44 -0400] INFO: Ran execute[download homebrew installer] successfully
[Sat, 02 Oct 2010 19:48:44 -0400] INFO: Ran script[install_something] successfully
[Sat, 02 Oct 2010 19:48:44 -0400] INFO: Writing updated content for template[/Users/mike/.cinderella.profile] to /Users/mike/.cinderella.profile
[Sat, 02 Oct 2010 19:48:44 -0400] INFO: Ran execute[include cinderella environment into defaults for ~/.bash_profile] successfully
[Sat, 02 Oct 2010 19:48:44 -0400] INFO: Ran execute[include cinderella environment into defaults for ~/.zshrc] successfully
[Sat, 02 Oct 2010 19:48:44 -0400] INFO: Installing homebrew[git] version 1.7.3.1
[Sat, 02 Oct 2010 19:49:48 -0400] INFO: Ran script[updating homebrew from github] successfully
[Sat, 02 Oct 2010 19:49:48 -0400] INFO: Installing homebrew_db[redis] version 2.0.2
[Sat, 02 Oct 2010 19:49:56 -0400] INFO: Configuring redis to automatically start on login
[Sat, 02 Oct 2010 19:50:16 -0400] INFO: Installing homebrew_db[mongodb] version 1.6.3-x86_64
[Sat, 02 Oct 2010 19:50:19 -0400] INFO: Configuring mongodb to automatically start on login
[Sat, 02 Oct 2010 19:50:19 -0400] INFO: Installing homebrew_db[memcached] version 1.4.5
[Sat, 02 Oct 2010 19:50:51 -0400] INFO: Configuring memcached to automatically start on login
[Sat, 02 Oct 2010 19:50:51 -0400] INFO: Installing homebrew_db[postgresql] version 9.0.0
[Sat, 02 Oct 2010 19:54:42 -0400] INFO: Configuring postgresql to automatically start on login
[Sat, 02 Oct 2010 19:54:43 -0400] INFO: Installing homebrew_db[mysql] version 5.1.49
[Sat, 02 Oct 2010 20:02:44 -0400] INFO: Configuring mysql to automatically start on login
[Sat, 02 Oct 2010 20:03:04 -0400] INFO: Installing homebrew[tig] version 0.16
[Sat, 02 Oct 2010 20:03:10 -0400] INFO: Installing homebrew[ack] version 1.92
[Sat, 02 Oct 2010 20:03:12 -0400] INFO: Installing homebrew[imagemagick] version 6.6.4-5
[Sat, 02 Oct 2010 20:08:56 -0400] INFO: Installing homebrew[sqlite] version 3.7.2
[Sat, 02 Oct 2010 20:10:59 -0400] INFO: Installing homebrew[wget] version 1.12
[Sat, 02 Oct 2010 20:11:33 -0400] INFO: Installing homebrew[hub] version 1.4.1
[Sat, 02 Oct 2010 20:11:34 -0400] INFO: Installing homebrew[fortune] version 9708
[Sat, 02 Oct 2010 20:11:36 -0400] INFO: Installing homebrew[proctools] version 0.4pre1
[Sat, 02 Oct 2010 20:11:39 -0400] INFO: Installing homebrew[markdown] version 1.0.1
[Sat, 02 Oct 2010 20:11:40 -0400] INFO: Installing homebrew[ctags-exuberant] version 5.8
[Sat, 02 Oct 2010 20:11:53 -0400] INFO: Ran script[installing rvm to ~/Developer] successfully
[Sat, 02 Oct 2010 20:11:57 -0400] INFO: Ran script[updating rvm to the latest stable version] successfully
[Sat, 02 Oct 2010 20:13:26 -0400] INFO: Ran script[installing ruby] successfully
[Sat, 02 Oct 2010 20:13:27 -0400] INFO: Ran script[ensuring a default ruby is set] successfully
[Sat, 02 Oct 2010 20:13:27 -0400] INFO: Writing updated content for template[/Users/mike/Developer/.rvm/gemsets/default.gems] to /Users/mike/Developer/.rvm/gemsets/default.gems
[Sat, 02 Oct 2010 20:13:27 -0400] INFO: Backing up template[/Users/mike/Developer/.rvm/gemsets/default.gems] to /Users/mike/.cinderella/backup/Users/mike/Developer/.rvm/gemsets/default.gems.chef-20101002201327
[Sat, 02 Oct 2010 20:16:25 -0400] INFO: Ran script[ensuring default rubygems are installed] successfully
[Sat, 02 Oct 2010 20:16:26 -0400] INFO: Ran execute[cleanup rvm build artifacts] successfully
[Sat, 02 Oct 2010 20:16:26 -0400] INFO: Installing homebrew[rpg] version 0.3.0
[Sat, 02 Oct 2010 20:16:27 -0400] INFO: Installing homebrew[rlwrap] version 0.37
[Sat, 02 Oct 2010 20:16:37 -0400] INFO: Installing homebrew[node] version 0.2.2
[Sat, 02 Oct 2010 20:19:03 -0400] INFO: Installing homebrew[npm] version 0.2.3
[Sat, 02 Oct 2010 20:19:03 -0400] INFO: Installing homebrew[rlwrap] version 0.37
[Sat, 02 Oct 2010 20:19:04 -0400] INFO: Installing homebrew[kiwi] version 0.3.1
[Sat, 02 Oct 2010 20:19:05 -0400] INFO: Ran script[configuring ndistro] successfully
[Sat, 02 Oct 2010 20:19:05 -0400] INFO: Installing homebrew[python] version 2.7
[Sat, 02 Oct 2010 20:22:16 -0400] INFO: Installing homebrew[pip] version 0.8.1
[Sat, 02 Oct 2010 20:22:18 -0400] INFO: Installing homebrew[erlang] version R14B
[Sat, 02 Oct 2010 20:22:19 -0400] ERROR: homebrew[erlang] (/Users/mike/.cinderella/cookbooks/erlang/recipes/default.rb:8:in `from_file') had an error:
/Users/mike/Developer/bin/brew install erlang returned 1, expected 0
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/mixin/command.rb:184:in `handle_command_failures'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/mixin/command.rb:131:in `run_command'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/mixin/command.rb:199:in `run_command_with_systems_locale'
/Users/mike/.cinderella/cookbooks/homebrew/providers/homebrew.rb:33:in `run_brew_command'
/Users/mike/.cinderella/cookbooks/homebrew/providers/homebrew.rb:23:in `install_package'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/package.rb:60:in `action_install'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `send'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `run_action'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:109:in `converge'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `each'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `converge'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:82:in `converge'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:304:in `converge'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:87:in `run'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/solo.rb:191:in `run_application'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/solo.rb:181:in `loop'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/solo.rb:181:in `run_application'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application.rb:62:in `run'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/chef-solo:25
/usr/bin/chef-solo:19:in `load'
/usr/bin/chef-solo:19
[Sat, 02 Oct 2010 20:22:19 -0400] ERROR: Running exception handlers
[Sat, 02 Oct 2010 20:22:19 -0400] ERROR: Exception handlers complete
[Sat, 02 Oct 2010 20:22:19 -0400] ERROR: Re-raising exception: Chef::Exceptions::Exec - /Users/mike/Developer/bin/brew install erlang returned 1, expected 0
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/mixin/command.rb:184:in `handle_command_failures'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/mixin/command.rb:131:in `run_command'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/mixin/command.rb:199:in `run_command_with_systems_locale'
/Users/mike/.cinderella/cookbooks/homebrew/providers/homebrew.rb:33:in `run_brew_command'
/Users/mike/.cinderella/cookbooks/homebrew/providers/homebrew.rb:23:in `install_package'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/package.rb:60:in `action_install'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `send'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `run_action'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:109:in `converge'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `each'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `converge'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:82:in `converge'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:304:in `converge'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:87:in `run'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/solo.rb:191:in `run_application'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/solo.rb:181:in `loop'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/solo.rb:181:in `run_application'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application.rb:62:in `run'
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/chef-solo:25
/usr/bin/chef-solo:19:in `load'
/usr/bin/chef-solo:19
/Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/mixin/command.rb:184:in `handle_command_failures': /Users/mike/Developer/bin/brew install erlang returned 1, expected 0 (Chef::Exceptions::Exec)
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/mixin/command.rb:131:in `run_command'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/mixin/command.rb:199:in `run_command_with_systems_locale'
from /Users/mike/.cinderella/cookbooks/homebrew/providers/homebrew.rb:33:in `run_brew_command'
from /Users/mike/.cinderella/cookbooks/homebrew/providers/homebrew.rb:23:in `install_package'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/package.rb:60:in `action_install'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `send'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `run_action'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:109:in `converge'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `each'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `converge'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:82:in `converge'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:304:in `converge'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:87:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/solo.rb:191:in `run_application'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/solo.rb:181:in `loop'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/solo.rb:181:in `run_application'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application.rb:62:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/chef-solo:25
from /usr/bin/chef-solo:19:in `load'
from /usr/bin/chef-solo:19
/Users/mike/Developer/.rvm/scripts/rvm: line 7: syntax error near unexpected token `<'
/Users/mike/Developer/.rvm/scripts/rvm: line 7: `grep -q '^rvm ()' < <( declare -f ) # Is RVM is a shell function?'
bash-3.2$ exit
Script done on Sat Oct 2 20:33:53 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment