Skip to content

Instantly share code, notes, and snippets.

@mikestok
Created October 6, 2010 02:33
Show Gist options
  • Save mikestok/612715 to your computer and use it in GitHub Desktop.
Save mikestok/612715 to your computer and use it in GitHub Desktop.
Script started on Tue Oct 5 22:27:26 2010
bash-3.2$ date
Tue Oct 5 22:27:29 EDT 2010
bash-3.2$ ~/tmp/reinstall-cinderella.sh
+ rm -rf /Users/mike/.cinderella.bootstrap.log '/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 --:--:-- --:--:-- --:--:-- 0103 930 103 930 0 0 5818 0 --:--:-- --:--:-- --:--:-- 12916
Ensuring we have the latest version of cinderella installed
Cinderella installed successfully
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:827:in `report_activate_error': Could not find RubyGem cinderella (>= 0) (Gem::LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:261:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:68:in `gem'
from /usr/bin/cinderella:18
Run started Tue Oct 5 22:27:44 EDT 2010
/usr/bin/ruby
/usr/bin/gem
ERROR: While executing gem ... (Gem::InstallError)
cannot uninstall, check `gem list -d cinderella`
********************************************************************************
In order to setup rvm for your user's environment you must now run rvm-install.
rvm-install will be found in your current gems bin directory corresponding to where the gem was installed.
rvm-install will install the scripts to your user account and append itself to your profiles in order to
inject the proper rvm functions into your shell so that you can manage multiple rubies.
********************************************************************************
Building native extensions. This could take a while...
Successfully installed rvm-0.1.47
Successfully installed mixlib-config-1.1.2
Successfully installed mixlib-cli-1.2.0
Successfully installed mixlib-log-1.1.0
Successfully installed mixlib-authentication-1.1.4
Successfully installed json-1.4.2
Successfully installed extlib-0.9.15
Successfully installed systemu-1.2.0
Successfully installed ohai-0.5.6
Successfully installed mime-types-1.16
Successfully installed rest-client-1.5.1
Successfully installed bunny-0.6.0
Successfully installed abstract-1.0.0
Successfully installed erubis-2.6.6
Successfully installed moneta-0.6.0
Successfully installed uuidtools-2.1.1
Successfully installed chef-0.9.8
Successfully installed cinderella-0.2.1
18 gems installed
Something went wonky with the install. :(
bash-3.2$ exit
Script done on Tue Oct 5 22:31:38 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment