Skip to content

Instantly share code, notes, and snippets.

View fivetwentysix's full-sized avatar
💭
yet another programmer

Patrick Ma fivetwentysix

💭
yet another programmer
View GitHub Profile
[ pid=19462 thr=68395580 file=utils.rb:176 time=2011-10-06 10:12:03.963 ]: *** Exception PGError in application (server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
) (process 19462, thread #<Thread:0x00000008274478>):
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb:276:in `exec'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb:276:in `block in clear_cache!'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb:275:in `each_value'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb:275:in `clear_cache!'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/conne
LOG: unexpected EOF on client connection
LOG: unexpected EOF on client connection
LOG: unexpected EOF on client connection
LOG: unexpected EOF on client connection
LOG: unexpected EOF on client connection
LOG: unexpected EOF on client connection
LOG: unexpected EOF on client connection
LOG: unexpected EOF on client connection
LOG: unexpected EOF on client connection
LOG: unexpected EOF on client connection
ERROR: parameter "standard_conforming_strings" cannot be changed
LOG: unexpected EOF on client connection
LOG: unexpected EOF on client connection
ERROR: parameter "standard_conforming_strings" cannot be changed
ERROR: parameter "standard_conforming_strings" cannot be changed
ERROR: parameter "standard_conforming_strings" cannot be changed
LOG: unexpected EOF on client connection
LOG: unexpected EOF on client connection
ERROR: parameter "standard_conforming_strings" cannot be changed
LOG: unexpected EOF on client connection
Stacktrace:
[~/Sites/app] cucumber
Using the default profile...
undefined method `javascript_driver=' for Capybara:Module (NoMethodError)
/Users/pma/Sites/app/features/support/env.rb:10:in `block in <top (required)>'
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/spork-0.9.0.rc9/lib/spork.rb:24:in `prefork'
/Users/pma/Sites/app/features/support/env.rb:4:in `<top (required)>'
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-1.0.6/lib/cucumber/rb_support/rb_language.rb:143:in `load'
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-1.0.6/lib/cucumber/rb_support/rb_language.rb:143:in `load_code_file'
[~/Sites/app] cucumber --drb
Using the default profile...
Disabling profiles...
Exception encountered: #<RuntimeError: Application has been already initialized.>
backtrace:
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/application.rb:91:in `initialize!'
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-rails-1.0.2/lib/cucumber/rails/application.rb:15:in `initialize!'
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/pma/Sites/app/config/environment.rb:5:in `<top (required)>'
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in `load'
# Load the rails application
require File.expand_path('../application', __FILE__)
# Initialize the rails application
APP::Application.initialize!
source 'http://rubygems.org'
gem 'rails', '3.1.0'
gem 'pg'
group :assets do
gem 'sass-rails', " ~> 3.1.0"
gem 'coffee-rails', "~> 3.1.0"
gem 'uglifier'
gem 'haml-rails'
require 'rubygems'
require 'spork'
Spork.prefork do
ENV["RAILS_ENV"] ||= "test"
require 'cucumber/rails'
require 'factory_girl'
Capybara.default_selector = :css
Capybara.javascript_driver = :webkit
[~/Sites/BOSS2] cucumber
Using the default profile...
no such file to load -- cucumber/rails/action_controller (LoadError)
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `block in require'
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:225:in `load_dependency'
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-rails-1.0.2/lib/cucumber/rails.rb:6:in `<top (required)>'
/Users/pma/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
/Users/pma/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
require 'rubygems'
require 'spork'
ENV["RAILS_ENV"] ||= 'test'
Spork.prefork do
# Loading more in this block will cause your tests to run faster. However,
# if you change any configuration or code from libraries loaded here, you'll
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'