Skip to content

Instantly share code, notes, and snippets.

benlieb@bens 03:48 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ type gem
gem is a function
gem ()
{
typeset result;
( typeset rvmrc;
rvm_rvmrc_files=("/etc/rvmrc" "$HOME/.rvmrc");
if [[ -n "${rvm_prefix:-}" ]] && ! [[ "$HOME/.rvmrc" -ef "${rvm_prefix}/.rvmrc" ]]; then
rvm_rvmrc_files+=("${rvm_prefix}/.rvmrc");
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 >
$ gem list -l | cut -d ' ' -f 1
actionmailer
actionpack
activemodel
activerecord
activeresource
activesupport
arel
awesome_print
bourbon
benlieb@bens 03:57 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ gem install bundle
/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 [actionmailer-3.2.11, actionpack-3.2.11, activemodel-3.2.11, activerecord-3.2.11, activeresource-3.2.11, activesupport-3.2.11, arel-3.0.2, awesome_print-1.1.0, bourbon-3.0.1, builder-3.0.4, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.4.0, erubis-2.7.0, execjs-1.4.0, factory_girl-4.1.0, factory_girl_rails-4.1.0, haml-3.1.7, haml-rails-0.3.5, has_scope-0.5.1, hike-1.2.1, i18n-0.6.1, inherited_resources-1.3.1, journey-1.0.4, jquery-rails-2.1.4, json-1.7.6, mail-2.4.4, mime-types-1.19, multi_json-1.5.0, mysql2-0.3.11, polyglot-0.3.3, rack-1.4.4, rack-cache-1.2, rack-ssl-1.3.3, rack-test-0.6.2, rails-3.2.11, railties-3.2.11, rake-10.0.3, rdoc-3.12, responders-0.9.3, sass-3.2.5, sass-rails-3.2.6, simple_form-2.0.4, sprockets-2.2.2, thor-0.17.0
benlieb@bens 04:07 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ ruby -e "puts Gem::Specification.all.map(&:name).join(' ')"
NOTE: Specification.all called from -e:1:in `<main>'
actionmailer actionpack activemodel activerecord activeresource activesupport arel awesome_print bourbon builder bundler bundler 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 redgreen responders rvm sass sass-rails simple_form sprockets thor tilt treetop tzinfo uglifier useragent
benlieb@bens 04:09 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ rvm @global do gem install rubygems-bundler
Fetching: rubygems-bundler-1.1.0.gem (100%)
Successfully installed rubygems-bundler-1.1.0
1 gem installed
benlieb@bens 04:34 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ ruby -I/Users/benlieb/.rvm/gems/ruby-1.9.2-p320@global/gems/rubygems-bundler-1.0.3/lib -S gem install bundler
/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 [actionmailer-3.2.11, actionpack-3.2.11, activemodel-3.2.11, activerecord-3.2.11, activeresource-3.2.11, activesupport-3.2.11, arel-3.0.2, awesome_print-1.1.0, bourbon-3.0.1, builder-3.0.4, bundler-1.2.3, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.4.0, erubis-2.7.0, execjs-1.4.0, factory_girl-4.1.0, factory_girl_rails-4.1.0, haml-3.1.7, haml-rails-0.3.5, has_scope-0.5.1, hike-1.2.1, i18n-0.6.1, inherited_resources-1.3.1, journey-1.0.4, jquery-rails-2.1.4, json-1.7.6, mail-2.4.4, mime-types-1.19, multi_json-1.5.0, mysql2-0.3.11, polyglot-0.3.3, rack-1.4.4, rack-cache-1.2, rack-ssl-1.3.3, rack-test-0.6.2, rails-3.2.11, railties-3.2.11, rake-10.0.3,
$ gem list -l | grep ruby
rubygems-bundler (1.1.0)
benlieb@bens 05:00 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ gem uninstall rubygems-bundler
INFO: gem "rubygems-bundler" is not installed
benlieb@bens 10:21 PM ~/my_life/sites/2007/idance/rails_repo >
$ brew options sphinx
--mysql
Force compiling against MySQL
--pgsql
Force compiling against PostgreSQL
--id64
Force compiling with 64-bit ID support
benlieb@bens 12:18 PM ~/Desktop/sphinx-0.9.8.1 >
$ ./configure
checking build environment
--------------------------
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
benlieb@bens 04:33 PM ~/my_life/sites/2011/carolinamountainwoodturners.com/apps/cedar >
$ gph
Counting objects: 6654, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (6468/6468), done.
Writing objects: 100% (6654/6654), 11.24 MiB | 129 KiB/s, done.
Total 6654 (delta 4168), reused 0 (delta 0)
-----> Ruby/Rails app detected
-----> Installing dependencies using Bundler version 1.3.0.pre.5
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment