Question

Is it possible to completely remove rspec from a project, and then reinstall it again?

The reason I ask is because I had started my project on Rails 3 beta, and now that the new one has come out, the new rspec conflicts and nothing passes. But if I start a new project, everything seems to work as expected.

Was it helpful?

Solution

So its not rspec that needs to be removed like Nathanvda recommended in his comment, but HAML does need to be removed in Rails 3. Instead I used the haml-rails gem, and uninstalled all older version of haml. Works like a gem now. :D

Then what I did was deleted all the specs that were created for my other scaffolds, and regenerated them.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top