commondream/tconsole — Issue #57: Capybara related environment load error
Author: ncri
Created: 2012-03-07 18:40:40+00:00
State: open

I get an error doing bundle exec tconsole:

Error - Loading your environment failed: uninitialized constant Capybara::DSL::Session

It occurs in a file capybara.rb in my test folder where I load capybara stuff. The error is from the first line in that file:

require 'capybara/rails'

Partial stack trace:

````
/Users/nico/.rvm/gems/ruby-1.9.2-p290-railsexpress/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:206:in `const_missing_from_s3_library'
/Users/nico/.rvm/gems/ruby-1.9.2-p290-railsexpress/bundler/gems/capybara-c32f9a95f5da/lib/capybara/dsl.rb:158:in `'
/Users/nico/.rvm/gems/ruby-1.9.2-p290-railsexpress/bundler/gems/capybara-c32f9a95f5da/lib/capybara/dsl.rb:119:in `'
/Users/nico/.rvm/gems/ruby-1.9.2-p290-railsexpress/bundler/gems/capybara-c32f9a95f5da/lib/capybara/dsl.rb:3:in `'
/Users/nico/.rvm/gems/ruby-1.9.2-p290-railsexpress/bundler/gems/capybara-c32f9a95f5da/lib/capybara/rails.rb:2:in `'
/Users/nico/Rails/yousty/test/capybara.rb:1:in `'
````