em-rspec icon indicating copy to clipboard operation
em-rspec copied to clipboard

Error after installing em-rspec

Open lynndylanhurley opened this issue 13 years ago • 8 comments

After installing em-rspec and prepending require 'em-rspec' to the top of my spec file, I get the following error:

https://gist.github.com/3899668

lynndylanhurley avatar Oct 16 '12 14:10 lynndylanhurley

What version of RSpec are you using?

stevegraham avatar Oct 17 '12 00:10 stevegraham

This was my fault, actually. I commented out one of my tests and now everything is working fine.

lynndylanhurley avatar Oct 17 '12 15:10 lynndylanhurley

Please disregard my last comment. I get the following error whenever I try to initialize the rails environment (using rails console for example): https://gist.github.com/3899668

I'm using rspec version 2.11.1

lynndylanhurley avatar Oct 17 '12 16:10 lynndylanhurley

what is the value of RAILS_ENV? In the console it is "development" by default. Try setting RAILS_ENV to "test" by invoking rails console like this RAILS_ENV=test rails console

stevegraham avatar Oct 17 '12 20:10 stevegraham

after running RAILS_ENV=test rails console I get the following error: https://gist.github.com/3908218

lynndylanhurley avatar Oct 17 '12 21:10 lynndylanhurley

Please paste your gemfile

stevegraham avatar Oct 17 '12 21:10 stevegraham

https://gist.github.com/3908248

lynndylanhurley avatar Oct 17 '12 21:10 lynndylanhurley

Did you ever get a chance to look into this?

lynndylanhurley avatar Oct 22 '12 22:10 lynndylanhurley