# Problem with deploying (can't activate rails)

**URL:** <https://www.ruby-forum.com/t/problem-with-deploying-cant-activate-rails/173586>\
**Category:** Rails\
**Created:** [August 11, 2009, 7:26pm UTC](https://www.ruby-forum.com/t/problem-with-deploying-cant-activate-rails/173586 "2009-08-11T19:26:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [August 11, 2009, 7:26pm UTC](https://www.ruby-forum.com/t/problem-with-deploying-cant-activate-rails/173586/1 "2009-08-11T19:26:07Z")

</div>

Hi all,

I have a problem with deploying rails via capistrano. (updated  
capistrano)

\*\*\* [err :: [www.teamgeisthq.com](http://www.teamgeisthq.com)] /usr/local/lib/site\_ruby/1.8/  
rubygems.rb:149:in `activate' ***[err :: www.teamgeisthq.com] :*** [err :: www.teamgeisthq.com] can't activate rails (= 2.2.2, runtime), already activated rails-2.3.2 ***[err :: www.teamgeisthq.com] (*** [err :: www.teamgeisthq.com] Gem::Exception ***[err :: www.teamgeisthq.com] )*** [err :: www.teamgeisthq.com] from /usr/local/lib/site_ruby/1.8/ rubygems/custom_require.rb:35:in `require’  
\*\*\* [err :: [www.teamgeisthq.com](http://www.teamgeisthq.com)] from /home/myusername/www.testt.com/  
current/script/process/reaper:3

I understand that the spawner is no part anymore of rails 2.3 and  
installed irs\_process\_scripts in my vendor/plugins dir.

Still I get this error.

Someone knows how to solve this?

Thanks

---

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [August 11, 2009, 9:28pm UTC](https://www.ruby-forum.com/t/problem-with-deploying-cant-activate-rails/173586/2 "2009-08-11T21:28:38Z")

</div>

Tarscher wrote:

> Hi all,
> 
> I have a problem with deploying rails via capistrano. (updated  
> capistrano)
> 
> \*\*\* [err :: [www.teamgeisthq.com](http://www.teamgeisthq.com)] /usr/local/lib/site\_ruby/1.8/  
> rubygems.rb:149:in `activate' ***[err :: www.teamgeisthq.com] :*** [err :: www.teamgeisthq.com] can't activate rails (= 2.2.2, runtime), already activated rails-2.3.2 ***[err :: www.teamgeisthq.com] (*** [err :: www.teamgeisthq.com] Gem::Exception ***[err :: www.teamgeisthq.com] )*** [err :: www.teamgeisthq.com] from /usr/local/lib/site_ruby/1.8/ rubygems/custom_require.rb:35:in `require’  
> \*\*\* [err :: [www.teamgeisthq.com](http://www.teamgeisthq.com)] from /home/myusername/www.testt.com/  
> current/script/process/reaper:3
> 
> I understand that the spawner is no part anymore of rails 2.3 and  
> installed irs\_process\_scripts in my vendor/plugins dir.
> 
> Still I get this error.
> 
> Someone knows how to solve this?
> 
> Thanks

One of your plugins has a requirement to use rails 2.2.2… probably  
irs\_process\_scripts??..

merely go into the plugins directory, then into the specific plugin and  
change the dependency requirement from = 2.2.2 to \>= 2.2.2

Alternatively, you can check if the plugin has been updated to work with  
2.3

Make sure you test the plugin thoroughly…

hth

ilan
