Skip to content

Instantly share code, notes, and snippets.

@mattvanhorn
Created June 24, 2012 14:54
Show Gist options
  • Save mattvanhorn/2983541 to your computer and use it in GitHub Desktop.
Save mattvanhorn/2983541 to your computer and use it in GitHub Desktop.
display case bug
$ rails c
/Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:10: warning: already initialized constant ENC_NONE
/Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:11: warning: already initialized constant ENC_EUC
/Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:12: warning: already initialized constant ENC_SJIS
/Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:13: warning: already initialized constant ENC_UTF8
:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/rollout_ui-0.2.1/lib/rollout_ui/server.rb:16:in `<class:Server>'
Loading development environment (Rails 3.2.6)
cannot load such file -- wirble
1.9.3p194 :001 > reload!
Reloading...
TypeError: superclass mismatch for class BlogExhibit
from /Users/mattvanhorn/projects/bjjlife/app/exhibits/blog_exhibit.rb:1:in `<top (required)>'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:245:in `load'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:245:in `block in load'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:245:in `load'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/display_case-0.0.3/lib/display_case/find_definitions.rb:11:in `block (2 levels) in find_definitions'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/display_case-0.0.3/lib/display_case/find_definitions.rb:10:in `each'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/display_case-0.0.3/lib/display_case/find_definitions.rb:10:in `block in find_definitions'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/display_case-0.0.3/lib/display_case/find_definitions.rb:6:in `each'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/display_case-0.0.3/lib/display_case/find_definitions.rb:6:in `find_definitions'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/display_case-0.0.3/lib/display_case/railtie.rb:4:in `block in <class:Railtie>'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.6/lib/active_support/callbacks.rb:451:in `_run__2704457608775777557__prepare__2893953543867324132__callbacks'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.6/lib/active_support/callbacks.rb:405:in `__run_callback'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.6/lib/active_support/callbacks.rb:385:in `_run_prepare_callbacks'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.6/lib/action_dispatch/middleware/reloader.rb:74:in `prepare!'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.6/lib/action_dispatch/middleware/reloader.rb:48:in `prepare!'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/console/app.rb:32:in `reload!'
from (irb):1
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/commands/console.rb:47:in `start'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/commands/console.rb:8:in `start'
from /Users/mattvanhorn/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'1.9.3p194 :002 >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment