Skip to content

Instantly share code, notes, and snippets.

View erebor's full-sized avatar

Ryan Waldron erebor

View GitHub Profile
Mini:~/cas(working)> rvm remove ree ; rvm install ree
Removing /Users/rew/.rvm/src/ree-1.8.7-2010.01...
Removing /Users/rew/.rvm/rubies/ree-1.8.7-2010.01...
Installing Ruby Enterprise Edition from source to: /Users/rew/.rvm/rubies/ree-1.8.7-2010.01
[2010-01-28 17:35:46] ./installer -a /Users/rew/.rvm/rubies/ree-1.8.7-2010.01 --dont-install-useful-gems
./configure: line 4633: : command not found
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
./src/base/basictypes.h: In constructor 'AssignAttributeStartEnd::AssignAttributeStartEnd(const char*, char**, char**)':
./src/base/basictypes.h:251: warning: '_dyld_present' is deprecated (declared at /usr/include/mach-o/dyld.h:237)
./src/base/basictypes.h:251: warning: '_dyld_present' is deprecated (declared at /usr/include/mach-o/dyld.h:237)
./src/base/basictypes.h: In constructor 'AssignAttributeStartEnd::AssignAttributeStartEnd(const char*, char**, char**)':
./src/base/basictypes.h:251: warning: '_dyld_present' is deprecated (declared at /usr/include/mach-o/dyld.h:237)
./src/base/basictypes.h:251: warning: '_dyld_present' is deprecated (declared at /usr/include/mach-o/dyld.h:237)
Mini:~/cas(working)> rake test:units
(in /Users/rew/cas)
no such file to load -- rc_rest
/Users/rew/.rvm/rubies/ruby-1.8.6-p383/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/Users/rew/.rvm/rubies/ruby-1.8.6-p383/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
/Users/rew/cas/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/rew/cas/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/rew/cas/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/rew/cas/vendor/gems/google-geocode-1.2.1/lib/google_geocode.rb:2
class PagesController < ApplicationController
before_filter :login_required, :except => [ :show ]
# GET /pages
# GET /pages.xml
def index
@pages = Page.find(:all)
respond_to do |format|
format.html # index.html.erb
Mac:~/cas(bundler) system> cat ~/.gemrc
---
:benchmark: false
:update_sources: true
:bulk_threshold: 1000
:verbose: true
:sources:
- http://gemcutter.org
:backtrace: false
class PagesController < ApplicationController
before_filter :login_required, :except => [ :show ]
# GET /pages
# GET /pages.xml
def index
@pages = Page.find(:all)
respond_to do |format|
format.html # index.html.erb
Mac:~/.rvm ruby-1.8.7-p174> rvm info
ruby-1.8.7-p174:
system:
uname: "Darwin ryanmac.local 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386"
shell: "bash"
version: "3.2.48(1)-release"
rvm:
type: "rvm is /Users/rew/.rvm/bin/rvm"
Mac:~/cas(working) ruby-1.8.7-p174> cat $(which gem)
#!/Users/rew/.rvm/rubies/ruby-1.8.7-p174/bin/ruby
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
# See LICENSE.txt for permissions.
#++
require 'rubygems'
require 'rubygems/gem_runner'
Mac:~/cas(working) ruby-1.8.7-p174> gem --verbose outdated
ERROR: Invalid option: --verbose. See 'gem --help'.
Mac:~/cas(working) ruby-1.8.7-p174> gem outdated --verbose
GET http://gemcutter.org/latest_specs.4.8.gz
302 Found
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
ERROR: While executing gem ... (NoMethodError)
undefined method `first' for nil:NilClass
Mac:~/cas(working) ruby-1.8.7-p174> gem outdated --trace
Mac:~/cas(working) ruby-1.8.7-p174> gem outdated --debug
Exception `NameError' at /Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:164 - uninitialized constant Gem::Commands::OutdatedCommand
Exception `NoMethodError' at /Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/commands/outdated_command.rb:26 - undefined method `first' for nil:NilClass
ERROR: While executing gem ... (NoMethodError)
undefined method `first' for nil:NilClass
/Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/commands/outdated_command.rb:26:in `execute'
/Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/commands/outdated_command.rb:21:in `each'
/Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/commands/outdated_command.rb:21:in `execute'
/Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/command.rb:270:in `invoke'
/Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/com