Couldn't find 'rspec' generator

Hi,
I am trying to learn the RSpec but unfortunately I found all the
tutorials which are very old. Is anyone have latest tutorial?
I am following some tutorial, I have followed the following steps:-

  1. gem install rspec
  2. gem install rspec-rails
  3. ./script/generate rspec
    I am getting an error that “Couldn’t find ‘rspec’ generator”
    I have searched for this and I got information that I have to install
    the plugins:-
    "ruby script/plugin install
    svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec
    "
    My problem is that URL does not exists. Can anyone tell me am I on right
    track?

Any help appreciated.

Thanks,
Tushar

Hi there,

Are you on rails 2.x.x or 3 ?

I am on rails 2.3.8
Clint Krollwood wrote in post #984887:

Hi there,

Are you on rails 2.x.x or 3 ?

On Wed, Mar 2, 2011 at 3:19 AM, Tushar G. [email protected]
wrote:

I am on rails 2.3.8

You’ll find instructions here:

https://github.com/dchelimsky/rspec/wiki/rails

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs