I've just ran into this problem too, whilst trying to upgrade a site from Radiant 0.6.9 to 0.7.1. I found that I could not run `rake radiant:update`. I kept getting a message like:

        can't activate rspec (= 1.1.12, runtime), already activated rspec-1.2.6

I found that uninstalling all rspec versions greater than 1.1.12 made the problem go away.

Once I had uninstalled more recent versions of rspec, I could run `rake radiant:update` fine. After running the rake task, I found that I could reinstall the most recent version of rspec (currently 1.2.6), and it no longer conflicted with Radiant. So it seems like there was just some catch-22 requirement going on within the `rake radiant:update` task.

I ran into a couple of other problems in trying to upgrade from 0.6.9 to 0.7.1, so I wrote them up and put a new page on the wiki. Check it out:

        
http://wiki.github.com/radiant/radiant/updating-a-site-from-radiant-069-to-071

I hope this will save others some time when they come to do the same.

Cheers,
Drew


On 22 Apr 2009, at 10:17, Jeffrey Jones wrote:

Yes, Radiant 0.7.1 Rspec only works with 1.1.12 and, from my experience, merely having Rspec 1.2.x installed totally FUBARs Rspec 1.1.12. There is a bug on the rspec tracker mentioning this but no movement on it yet.

https://rhomobile.lighthouseapp.com/projects/16701/tickets/144-cant-activate-rspec-1112-runtime-already-activated-rspec-120

I have no solution or workaround for this issue.

Jeff

Enrico Teotti wrote:
Hi,
I was happily running my test suite (rspec+cucumber) in my radiant extension.
I've frozen the rspec gems inside /vendor/gems
rspec-1.1.12            rspec-rails-1.1.12
I've deployed that project, and started to work on some other rails
project and installed rspec 1.2.2 and 1.2.4.

Today I had to change something in the radiant project, and rake spec returns:
http://pastie.org/454312

Only after removing rspec (and rspec-rails) 1.2.2 1.2.4 my test are
running fine again.
Any clue why? "RubyGem version error: rspec(1.1.11 not = 1.2.4)
(Gem::LoadError)" doesn't look good to me :-\

Is anybody running the same versions or radiant and rspec?

Cheers,
Enrico
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to