[rspec-users] uninitialized constant Spec::Rails (NameError) when running spec command

David Chelimsky dchelimsky at gmail.com
Thu Sep 22 18:32:29 EDT 2011

On Sep 22, 2011, at 2:35 PM, Chandu80 wrote:

> I get the following error when trying to run a spec command on a model
> test.
> The command is :- C:\Rspec Test\spec\models>spec bank_account_spec.rb

The rspec command is designed to be run from the project root. Try:

C:\Rspec Test>spec spec\models\spec bank_account_spec.rb

More information about the rspec-users mailing list