Skip to content

Instantly share code, notes, and snippets.

View erebor's full-sized avatar

Ryan Waldron erebor

View GitHub Profile
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
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
[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)> 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