Paulo Abreu,

Editing the gemspec worked for me

<your ruby installation>/gems/1.8/specifications/radiant-0.8.2.gemspec

s.add_runtime_dependency(%q<rack>, [">= 1.0.0","< 1.2.1"])


>>> But with pre-0.9, you can fix the radiant gem spec:
>>> 
>>> <your ruby installation>/gems/1.8/specifications/radiant-0.8.2.gemspec
>>> 
>>> Change the line:
>>>       s.add_runtime_dependency(%q<rack>, [">= 1.0.0"])
>>> to:
>>>       s.add_runtime_dependency(%q<rack>, [">= 1.0.0","< 1.1.0"])


Or, You may can edit : (note I received from : Jeff Casimir)

/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/radiant-0.8.2/vendor/rails/actionpack/lib/action_controller.rb

change the gem rack line to 1.1.0.  

Changing the gemspec should just change the install-time dependencies, not the 
load time requirements -- unless I'm mistaken.  This change to action 
controller affects the loadtime.



On Aug 11, 2010, at 12:06 PM, Paulo Abreu wrote:

> Hello,
> 
> I'm trying to install radiant cms version 0.9.0 rc2 in ubuntu with
> passenger and rails 2.3.8 and I'm having the following error:
> 
> can't activate rack (~> 1.0.1, runtime) for [], already activated
> rack-1.1.0 for ["radiant-0.9.0.rc2"].
> 
> I have rack 1.0.1 and rack 1.1.0 installed in my system.
> 
> How can I overcame this problem? uninstalling rack 1.1.0 is not an
> option since my other rails applications stop to work.
> 
> Regards,
> 
> Paulo Abreu
> 
> -------------------------------------------------
> my gem list:
> 
> *** LOCAL GEMS ***
> 
> actionmailer (2.3.8)
> actionpack (2.3.8)
> activerecord (2.3.8)
> activeresource (2.3.8)
> activesupport (2.3.8)
> authlogic (2.1.6)
> bundler (0.9.26)
> rack (1.1.0, 1.0.1)
> radiant (0.9.0.rc2)
> rails (2.3.8)
> rake (0.8.7)
> RedCloth (4.2.3)
> sqlite3-ruby (1.3.1)
> will_paginate (2.3.14)

Reply via email to