vajapravin
vajapravin

Reputation: 1383

rspec [not found]

I am using gem cells for shopping cart and use following command

rails generate cell cart display -e haml

it generate cells and give error

create  app/cells/cart_cell.rb
invoke  haml
create    app/cells/cart/display.html.haml
error  rspec [not found]

i have installed

sudo gem install rspec 

but problem not solved. Can anyb'dy help?

Upvotes: 1

Views: 577

Answers (1)

Tom
Tom

Reputation: 46

Please put following line into your Gemfile

gem "rspec-cells", ">= 0.1.3", :group => [:test]

and run bundle for installing the gem.

Please note, that you have to call

rails generate cell cart display -e haml -t rspec

Upvotes: 2

Related Questions