Skip to content

Instantly share code, notes, and snippets.

@nevans
Created October 28, 2009 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nevans/220599 to your computer and use it in GitHub Desktop.
Save nevans/220599 to your computer and use it in GitHub Desktop.
cd ~/tmp
# current bundler (0.6.0) has a different bug, so I'm using github master version
git clone git://github.com/wycats/bundler
cd bundler
git rev-parse HEAD # => 4907696811a73211aaded4f6ba03cbc45898769b
rake install
cd ..
rails test_gem_bundler
cd test_gem_bundler
script/generate scaffold person name:string dob:date
rake db:migrate
script/server
# view localhost:3000/people, everything works
# use Gemfile and config files below
gem bundle
script/server
# view localhost:3000/people, dies with stacktrace given below
# There appears to be some sort of conflict between formtastic and bundler
# Notice, I haven't started *using* formtastic yet.
# The bug is triggered by Bundler.require_env, and can be avoided by not
# requiring formtastic. (e.g. :only => :never)
# Rails will still load formtastic's "rails/init.rb" just fine.
# Settings specified here will take precedence over those in config/environment.rb
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the webserver when you make code changes.
config.cache_classes = false
# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
config.action_view.debug_rjs = true
config.action_controller.perform_caching = false
# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false
Bundler.require_env RAILS_ENV
bundle_path "vendor/gem-bundler"
gem "rails"
gem "sqlite3-ruby"
gem "formtastic"
# fix bug by appending ", :only => :never" to the line above
disable_system_gems
require "#{RAILS_ROOT}/vendor/gem-bundler/environment"
Processing PeopleController#index (for 127.0.0.1 at 2009-10-28 12:28:41) [GET]
Person Load (0.4ms) SELECT * FROM "people"
Rendering template within layouts/people
Rendering people/index
ActionView::TemplateError (undefined method `link_to' for #<ActionView::Base:0x100668658>) on line #22 of app/views/people/index.html.erb:
19:
20: <br />
21:
22: <%= link_to 'New person', new_person_path %>
app/views/people/index.html.erb:22
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:343:in `_render_with_layout'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:257:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:1250:in `render_for_file'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:951:in `render_without_benchmark'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:51:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:51:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:135:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:135:in `custom'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:179:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:179:in `respond'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:173:in `each'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:173:in `respond'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:107:in `respond_to'
app/controllers/people_controller.rb:7:in `index'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/filters.rb:617:in `call_filters'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/flash.rb:146:in `perform_action'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `process_without_filters'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/filters.rb:606:in `process'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:391:in `process'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:386:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:437:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:87:in `dispatch'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:121:in `_call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:9:in `cache'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:28:in `call'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:114:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:34:in `run'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108:in `call'
vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in `call'
vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
vendor/gem-bundler/gems/rails-2.3.4/lib/commands/server.rb:111
Rendered rescues/_trace (54.5ms)
Processing ApplicationController#index (for 127.0.0.1 at 2009-10-28 12:28:41) [GET]
ActionView::TemplateError (undefined method `debug' for #<ActionView::Base:0x100668658>) on line #20 of vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/_request_and_response.erb:
17: <p><b>Parameters</b>: <pre><%=h request_dump %></pre></p>
18:
19: <p><a href="#" onclick="document.getElementById('session_dump').style.display='block'; return false;">Show session dump</a></p>
20: <div id="session_dump" style="display:none"><%= debug(request.session.instance_variable_get("@data")) %></div>
21:
22:
23: <h2 style="margin-top: 30px">Response</h2>
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/_request_and_response.erb:20
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable_partial.rb:20:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:26:in `benchmark'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:26:in `benchmark'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable_partial.rb:19:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/template_error.erb:21
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:134:in `rescue_action_locally'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:152:in `rescue_action_without_handler'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:74:in `rescue_action'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:162:in `perform_action_without_flash'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/flash.rb:146:in `perform_action'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `process_without_filters'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/filters.rb:606:in `process'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:391:in `process'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:386:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:437:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:87:in `dispatch'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:121:in `_call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:9:in `cache'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:28:in `call'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:114:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:34:in `run'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108:in `call'
vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in `call'
vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
vendor/gem-bundler/gems/rails-2.3.4/lib/commands/server.rb:111
Rendered rescues/_trace (44.2ms)
/!\ FAILSAFE /!\ Wed Oct 28 12:28:41 -0400 2009
Status: 500 Internal Server Error
ActionView::TemplateError (undefined method `debug' for #<ActionView::Base:0x10229b9b0>) on line #20 of vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/_request_and_response.erb:
17: <p><b>Parameters</b>: <pre><%=h request_dump %></pre></p>
18:
19: <p><a href="#" onclick="document.getElementById('session_dump').style.display='block'; return false;">Show session dump</a></p>
20: <div id="session_dump" style="display:none"><%= debug(request.session.instance_variable_get("@data")) %></div>
21:
22:
23: <h2 style="margin-top: 30px">Response</h2>
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/_request_and_response.erb:20
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable_partial.rb:20:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:26:in `benchmark'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:26:in `benchmark'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable_partial.rb:19:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/template_error.erb:21
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:134:in `rescue_action_locally'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:152:in `rescue_action_without_handler'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:74:in `rescue_action'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `process_without_filters'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/filters.rb:606:in `process'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:65:in `call_with_exception'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:90:in `dispatch'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:121:in `_call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:9:in `cache'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:28:in `call'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:114:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:34:in `run'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108:in `call'
vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in `call'
vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
vendor/gem-bundler/gems/rails-2.3.4/lib/commands/server.rb:111
On line #20 of vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/_request_and_response.erb
17: <p><b>Parameters</b>: <pre><%=h request_dump %></pre></p>
18:
19: <p><a href="#" onclick="document.getElementById('session_dump').style.display='block'; return false;">Show session dump</a></p>
20: <div id="session_dump" style="display:none"><%= debug(request.session.instance_variable_get("@data")) %></div>
21:
22:
23: <h2 style="margin-top: 30px">Response</h2>
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/_request_and_response.erb:20
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable_partial.rb:20:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:26:in `benchmark'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:26:in `benchmark'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable_partial.rb:19:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/template_error.erb:21
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:134:in `rescue_action_locally'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:152:in `rescue_action_without_handler'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:74:in `rescue_action'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `send'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `process_without_filters'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/filters.rb:606:in `process'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:65:in `call_with_exception'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:90:in `dispatch'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:121:in `_call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:9:in `cache'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:28:in `call'
vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:114:in `call'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:34:in `run'
vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108:in `call'
vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in `call'
vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
vendor/gem-bundler/gems/rails-2.3.4/lib/commands/server.rb:111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment