Forum: RSpec rspec not recognised

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
3bc7b6532e1537ca139c02f091636d3b?d=identicon&s=25 Aashish Kiran (aashishkiran)
on 2011-09-15 11:01
I am using Rails 3 and rspec-rails gem.
When try to run rspec spec\models\profile.rb
I get result as follows:
'rspec' is not recognized as an internal or external command,
Can you help?

7bb0d7e74198c735783b8a65cd14989c?d=identicon&s=25 Sidu Ponnappa (kaiwren)
on 2011-09-15 13:07
(Received via mailing list)
If you've installed the gem via bundler, you'll need to either do
'bundle exec rspec' or run the build via rake (do `rake -T | grep
spec` to list all the spec related tasks). You should also take a look

In any event, most editors and IDEs allow you to run your test(s)
inline using a shortcut, so you may want to explore that option as
it's far more convenient/productive than switching to a shell.

This topic is locked and can not be replied to.