Skip to content

Instantly share code, notes, and snippets.

@bjhess
Created November 8, 2010 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjhess/668201 to your computer and use it in GitHub Desktop.
Save bjhess/668201 to your computer and use it in GitHub Desktop.
~ $ which rvm
/Users/barry/.rvm/bin/rvm
~ $ sudo gem uninstall rvm
Password:
Select gem to uninstall:
1. rvm-0.1.47
2. rvm-1.0.20
3. rvm-1.0.21
4. rvm-1.0.19
5. All versions
> 5
You have requested to uninstall the gem:
rvm-0.1.47
cinderella-0.2.4 depends on [rvm (~> 0.1.47)]
If you remove this gems, one or more dependencies will not be met.
Continue with Uninstall? [Yn] y
Successfully uninstalled rvm-0.1.47
Successfully uninstalled rvm-1.0.20
Successfully uninstalled rvm-1.0.21
Successfully uninstalled rvm-1.0.19
~ $ which rvm/Users/barry/.rvm/bin/rvm
~ $ rm -rf .rvm
~ $ which rvm
~ $ cinderella
/Library/Ruby/Site/1.8/rubygems.rb:779:in `report_activate_error': Could not find RubyGem rvm (~> 0.1.47) (Gem::LoadError)
from /Library/Ruby/Site/1.8/rubygems.rb:214:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:249:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:248:in `each'
from /Library/Ruby/Site/1.8/rubygems.rb:248:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:1082:in `gem'
from /usr/bin/cinderella:18
~ $ sudo gem install rvm
********************************************************************************
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.
********************************************************************************
Successfully installed rvm-1.0.21
1 gem installed
~ $ cinderella
/Library/Ruby/Site/1.8/rubygems.rb:779:in `report_activate_error': RubyGem version error: rvm(1.0.21 not ~> 0.1.47) (Gem::LoadError)
from /Library/Ruby/Site/1.8/rubygems.rb:214:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:249:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:248:in `each'
from /Library/Ruby/Site/1.8/rubygems.rb:248:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:1082:in `gem'
from /usr/bin/cinderella:18
~ $ sudo gem install rvm -v 0.1.47
********************************************************************************
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.
********************************************************************************
Successfully installed rvm-0.1.47
1 gem installed
~ $ cinderella
[Mon, 08 Nov 2010 14:05:50 -0600] INFO: Setting the run_list to ["homebrew", "homebrew::dbs", "homebrew::misc", "ruby", "ruby::irbrc", "node", "python"] from JSON
[Mon, 08 Nov 2010 14:05:50 -0600] INFO: Starting Chef Run (Version 0.9.12)
[Mon, 08 Nov 2010 14:05:50 -0600] INFO: Ran script[install_something] successfully
[Mon, 08 Nov 2010 14:05:50 -0600] INFO: Ran execute[include cinderella environment into defaults for ~/.zshrc] successfully
[Mon, 08 Nov 2010 14:05:50 -0600] INFO: Installing homebrew[git] version 1.7.3.2
[Mon, 08 Nov 2010 14:05:52 -0600] INFO: Ran script[updating homebrew from github] successfully
[Mon, 08 Nov 2010 14:05:52 -0600] INFO: Installing homebrew_db[redis] version 2.0.4
[Mon, 08 Nov 2010 14:05:52 -0600] INFO: Configuring redis to automatically start on login
[Mon, 08 Nov 2010 14:05:53 -0600] INFO: Installing homebrew_db[mongodb] version 1.6.3-x86_64
[Mon, 08 Nov 2010 14:05:53 -0600] INFO: Configuring mongodb to automatically start on login
[Mon, 08 Nov 2010 14:05:53 -0600] INFO: Installing homebrew_db[memcached] version 1.4.5
[Mon, 08 Nov 2010 14:05:54 -0600] INFO: Configuring memcached to automatically start on login
[Mon, 08 Nov 2010 14:05:54 -0600] INFO: Installing homebrew_db[postgresql] version 9.0.1
[Mon, 08 Nov 2010 14:05:55 -0600] INFO: Configuring postgresql to automatically start on login
[Mon, 08 Nov 2010 14:05:55 -0600] INFO: Installing homebrew_db[mysql] version 5.1.51
[Mon, 08 Nov 2010 14:05:55 -0600] INFO: Configuring mysql to automatically start on login
[Mon, 08 Nov 2010 14:06:16 -0600] INFO: Installing homebrew[tig] version 0.16.2
[Mon, 08 Nov 2010 14:06:16 -0600] INFO: Installing homebrew[ack] version 1.93_02
[Mon, 08 Nov 2010 14:06:17 -0600] INFO: Installing homebrew[coreutils] version 8.5
[Mon, 08 Nov 2010 14:08:08 -0600] INFO: Installing homebrew[imagemagick] version 6.6.4-5
[Mon, 08 Nov 2010 14:08:09 -0600] INFO: Installing homebrew[sqlite] version 3.7.3
[Mon, 08 Nov 2010 14:08:10 -0600] INFO: Installing homebrew[gist] version 2.0.0
[Mon, 08 Nov 2010 14:08:10 -0600] INFO: Installing homebrew[wget] version 1.12
[Mon, 08 Nov 2010 14:08:10 -0600] INFO: Installing homebrew[hub] version 1.4.1
[Mon, 08 Nov 2010 14:08:11 -0600] INFO: Installing homebrew[fortune] version 9708
[Mon, 08 Nov 2010 14:08:12 -0600] INFO: Installing homebrew[proctools] version 0.4pre1
[Mon, 08 Nov 2010 14:08:12 -0600] INFO: Installing homebrew[markdown] version 1.0.1
[Mon, 08 Nov 2010 14:08:13 -0600] INFO: Installing homebrew[ctags-exuberant] version 5.8
[Mon, 08 Nov 2010 14:08:13 -0600] INFO: Ran script[installing rvm to ~/Developer] successfully
[Mon, 08 Nov 2010 14:08:18 -0600] INFO: Ran script[updating rvm to the latest stable version] successfully
[Mon, 08 Nov 2010 14:09:52 -0600] INFO: Ran script[installing ruby] successfully
[Mon, 08 Nov 2010 14:09:53 -0600] INFO: Ran script[ensuring a default ruby is set] successfully
[Mon, 08 Nov 2010 14:09:53 -0600] INFO: Writing updated content for template[/Users/barry/Developer/.rvm/gemsets/default.gems] to /Users/barry/Developer/.rvm/gemsets/default.gems
[Mon, 08 Nov 2010 14:09:53 -0600] INFO: Backing up template[/Users/barry/Developer/.rvm/gemsets/default.gems] to /Users/barry/.cinderella/backup/Users/barry/Developer/.rvm/gemsets/default.gems.chef-20101108140953
[Mon, 08 Nov 2010 14:14:08 -0600] INFO: Ran script[ensuring default rubygems are installed] successfully
[Mon, 08 Nov 2010 14:14:09 -0600] INFO: Ran execute[cleanup rvm build artifacts] successfully
[Mon, 08 Nov 2010 14:14:09 -0600] INFO: Writing updated content for template[/Users/barry/.gemrc] to /Users/barry/.gemrc
[Mon, 08 Nov 2010 14:14:09 -0600] INFO: Backing up template[/Users/barry/.gemrc] to /Users/barry/.cinderella/backup/Users/barry/.gemrc.chef-20101108141409
[Mon, 08 Nov 2010 14:14:09 -0600] INFO: Writing updated content for template[/Users/barry/.rdebugrc] to /Users/barry/.rdebugrc
[Mon, 08 Nov 2010 14:14:09 -0600] INFO: Installing homebrew[rpg] version 0.3.0
[Mon, 08 Nov 2010 14:14:16 -0600] INFO: Writing updated content for template[/Users/barry/.irbrc] to /Users/barry/.irbrc
[Mon, 08 Nov 2010 14:14:16 -0600] INFO: Backing up template[/Users/barry/.irbrc] to /Users/barry/.cinderella/backup/Users/barry/.irbrc.chef-20101108141416
[Mon, 08 Nov 2010 14:14:16 -0600] INFO: Installing homebrew[rlwrap] version 0.37
[Mon, 08 Nov 2010 14:14:28 -0600] INFO: Installing homebrew[node] version 0.2.4
[Mon, 08 Nov 2010 14:18:00 -0600] INFO: Installing homebrew[rlwrap] version 0.37
[Mon, 08 Nov 2010 14:18:01 -0600] INFO: Ran script[configuring ndistro] successfully
[Mon, 08 Nov 2010 14:18:01 -0600] INFO: Installing homebrew[python] version 2.7
[Mon, 08 Nov 2010 14:21:26 -0600] INFO: Installing homebrew[pip] version 0.8.1
[Mon, 08 Nov 2010 14:21:32 -0600] INFO: Chef Run complete in 942.752652 seconds
[Mon, 08 Nov 2010 14:21:32 -0600] INFO: cleaning the checksum cache
[Mon, 08 Nov 2010 14:21:32 -0600] INFO: Running report handlers
[Mon, 08 Nov 2010 14:21:32 -0600] INFO: Report handlers complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment