Skip to content

Instantly share code, notes, and snippets.

@benlieb
Created February 1, 2013 20:57
Show Gist options
  • Save benlieb/4694093 to your computer and use it in GitHub Desktop.
Save benlieb/4694093 to your computer and use it in GitHub Desktop.
$ gem list -l | cut -d ' ' -f 1
actionmailer
actionpack
activemodel
activerecord
activeresource
activesupport
arel
awesome_print
bourbon
builder
coffee-rails
coffee-script
coffee-script-source
erubis
execjs
factory_girl
factory_girl_rails
haml
haml-rails
has_scope
hike
i18n
inherited_resources
journey
jquery-rails
json
mail
mime-types
multi_json
mysql2
polyglot
rack
rack-cache
rack-ssl
rack-test
rails
railties
rake
rdoc
responders
sass
sass-rails
simple_form
sprockets
thor
tilt
treetop
tzinfo
uglifier
useragent
benlieb@bens 03:46 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ gem list -l | cut -d ' ' -f 1 | xargs gem uninstall
Successfully uninstalled actionmailer-3.2.11
Successfully uninstalled actionpack-3.2.11
Successfully uninstalled activemodel-3.2.11
Successfully uninstalled activerecord-3.2.11
Successfully uninstalled activeresource-3.2.11
Successfully uninstalled activesupport-3.2.11
Successfully uninstalled arel-3.0.2
Successfully uninstalled awesome_print-1.1.0
Removing bourbon
Successfully uninstalled bourbon-3.0.1
Successfully uninstalled builder-3.0.4
Successfully uninstalled coffee-rails-3.2.2
Successfully uninstalled coffee-script-2.2.0
Successfully uninstalled coffee-script-source-1.4.0
Removing erubis
Successfully uninstalled erubis-2.7.0
Successfully uninstalled execjs-1.4.0
Successfully uninstalled factory_girl-4.1.0
Successfully uninstalled factory_girl_rails-4.1.0
Removing haml
Removing html2haml
Successfully uninstalled haml-3.1.7
Successfully uninstalled haml-rails-0.3.5
Successfully uninstalled has_scope-0.5.1
Successfully uninstalled hike-1.2.1
Successfully uninstalled i18n-0.6.1
Successfully uninstalled inherited_resources-1.3.1
Successfully uninstalled journey-1.0.4
Successfully uninstalled jquery-rails-2.1.4
Successfully uninstalled json-1.7.6
Successfully uninstalled mail-2.4.4
Successfully uninstalled mime-types-1.19
Successfully uninstalled multi_json-1.5.0
Successfully uninstalled mysql2-0.3.11
Successfully uninstalled polyglot-0.3.3
Removing rackup
Successfully uninstalled rack-1.4.4
Successfully uninstalled rack-cache-1.2
Successfully uninstalled rack-ssl-1.3.3
Successfully uninstalled rack-test-0.6.2
Successfully uninstalled rails-3.2.11
Removing rails
Successfully uninstalled railties-3.2.11
Removing rake
Successfully uninstalled rake-10.0.3
Removing rdoc
Removing ri
Successfully uninstalled rdoc-3.12
Successfully uninstalled responders-0.9.3
Removing sass
Removing sass-convert
Removing scss
Successfully uninstalled sass-3.2.5
Successfully uninstalled sass-rails-3.2.6
Successfully uninstalled simple_form-2.0.4
Removing sprockets
Successfully uninstalled sprockets-2.2.2
Removing rake2thor
Removing thor
Successfully uninstalled thor-0.17.0
Removing tilt
Successfully uninstalled tilt-1.3.3
Removing tt
Successfully uninstalled treetop-1.4.12
Successfully uninstalled tzinfo-0.3.35
Successfully uninstalled uglifier-1.3.0
Successfully uninstalled useragent-0.4.16
benlieb@bens 03:46 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ gem list -l
*** LOCAL GEMS ***
benlieb@bens 03:46 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ which bundle
/Users/benlieb/.rvm/gems/ruby-1.9.2-p320@global/bin/bundle
benlieb@bens 03:54 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ which gem
/Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/bin/gem
benlieb@bens 03:54 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ gem install awesome_print
Fetching: awesome_print-1.1.0.gem (100%)
/Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rubygems-bundler (>= 0) amongst [] (Gem::LoadError)
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:436:in `find_by_name'
from /Users/benlieb/.rvm/gems/ruby-1.9.2-p320@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/wrapper.rb:19:in `install'
from /Users/benlieb/.rvm/gems/ruby-1.9.2-p320@global/gems/rubygems-bundler-1.0.3/lib/rubygems_plugin.rb:20:in `block in <top (required)>'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:162:in `call'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:162:in `block in install'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:161:in `each'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:161:in `install'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:297:in `block in install'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:270:in `each'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:270:in `each_with_index'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:270:in `install'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:121:in `block in execute'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:115:in `each'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:115:in `execute'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:278:in `invoke'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:147:in `process_args'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:117:in `run'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:65:in `run'
from /Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/bin/gem:30:in `<main>'
benlieb@bens 03:54 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Installing rake (10.0.3)
Installing i18n (0.6.1)
Installing multi_json (1.5.0)
Installing activesupport (3.2.11)
Installing builder (3.0.4)
Installing activemodel (3.2.11)
Installing erubis (2.7.0)
Installing journey (1.0.4)
Installing rack (1.4.4)
Installing rack-cache (1.2)
Installing rack-test (0.6.2)
Installing hike (1.2.1)
Installing tilt (1.3.3)
Installing sprockets (2.2.2)
Installing actionpack (3.2.11)
Installing mime-types (1.19)
Installing polyglot (0.3.3)
Installing treetop (1.4.12)
Installing mail (2.4.4)
Installing actionmailer (3.2.11)
Installing arel (3.0.2)
Installing tzinfo (0.3.35)
Installing activerecord (3.2.11)
Installing activeresource (3.2.11)
Installing awesome_print (1.1.0)
Installing sass (3.2.5)
Installing thor (0.17.0)
Installing bourbon (3.0.1)
Installing coffee-script-source (1.4.0)
Installing execjs (1.4.0)
Installing coffee-script (2.2.0)
Installing rack-ssl (1.3.3)
Installing json (1.7.6) with native extensions
Installing rdoc (3.12)
Installing railties (3.2.11)
Installing coffee-rails (3.2.2)
Installing factory_girl (4.1.0)
Installing factory_girl_rails (4.1.0)
Installing haml (3.1.7)
Installing haml-rails (0.3.5)
Installing has_scope (0.5.1)
Installing responders (0.9.3)
Installing inherited_resources (1.3.1)
Installing jquery-rails (2.1.4)
Installing mysql2 (0.3.11) with native extensions
Using bundler (1.1.5)
Installing rails (3.2.11)
Installing sass-rails (3.2.6)
Installing simple_form (2.0.4)
Installing uglifier (1.3.0)
Installing useragent (0.4.16)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
benlieb@bens 03:56 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment