# Rails Framework

**URL:** <https://www.ruby-forum.com/t/rails-framework/160517>\
**Category:** Rails\
**Created:** [February 17, 2009, 10:34am UTC](https://www.ruby-forum.com/t/rails-framework/160517 "2009-02-17T10:34:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 17, 2009, 10:34am UTC](https://www.ruby-forum.com/t/rails-framework/160517/1 "2009-02-17T10:34:01Z")

</div>

When I try to create new rails framework I’ getting the follow error.  
I’ve had to reinstall ruby and ruby gem.

/Library/Ruby/Site/1.8/rubygems.rb:149:in `activate': can't activate activesupport (= 2.1.0, runtime), already activated activesupport-2.2.2 (Gem::Exception) from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:35:in`require’  
from /Users/brianspadetti/.gem/ruby/1.8/gems/rails-2.2.2/bin/…/lib/  
rails\_generator.rb:28  
from /Library/Ruby/Site/1.8/rubygems/custom\_require.rb:31:in  
`gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in`require’  
from /Users/brianspadetti/.gem/ruby/1.8/gems/rails-2.2.2/bin/rails:13  
from /usr/bin/rails:19:in `load’  
from /usr/bin/rails:19  
Please help

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 17, 2009, 4:57pm UTC](https://www.ruby-forum.com/t/rails-framework/160517/2 "2009-02-17T16:57:26Z")

</div>

Show:

ruby -v  
gem -v  
gem list

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 19, 2009, 5:15pm UTC](https://www.ruby-forum.com/t/rails-framework/160517/3 "2009-02-19T17:15:45Z")

</div>

ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]  
gem -v 1.3.1

actionmailer (2.2.2, 2.1.0)  
actionpack (2.2.2, 2.1.0)  
activerecord (2.2.2, 2.1.0)  
activeresource (2.2.2, 2.1.0)  
activesupport (2.2.2, 2.1.0)  
acts\_as\_ferret (0.4.3)  
addressable (2.0.2)  
capistrano (2.5.4)  
daemons (1.0.10)  
data\_objects (0.9.11)  
dnssd (0.7.0)  
extlib (0.9.10)  
ferret (0.11.6)  
highline (1.5.0)  
hpricot (0.6.164)  
libxml-ruby (0.9.8)  
mongrel (1.1.5)  
net-scp (1.0.2)  
net-sftp (2.0.2)  
net-ssh (2.0.10)  
net-ssh-gateway (1.0.1)  
rails (2.2.2, 2.1.0)  
rake (0.8.3)  
RedCloth (4.1.1)  
ruby-openid (2.1.4)  
rubynode (0.1.5)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 19, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/rails-framework/160517/4 "2009-02-19T20:57:17Z")

</div>

should I remove or downgrade any versions that are 2.2.2? If so how  
would I uninstall and reinstall because I installed everything threw  
macports

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 24, 2009, 4:42pm UTC](https://www.ruby-forum.com/t/rails-framework/160517/5 "2009-02-24T16:42:54Z")

</div>

I believe I had a similar problem once, either caused by multiple  
versions of Rails installed or by having some version of Rails frozen  
into vendor/rails

My solution was to remove the offending version since I wasn’t locked  
to a specific version.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 24, 2009, 4:50pm UTC](https://www.ruby-forum.com/t/rails-framework/160517/6 "2009-02-24T16:50:35Z")

</div>

I figured it out. Thank you for your help. Issues I had was I install  
ruby  
under gem and tried to remove it. Then I tried to install in macports  
which  
cause the issues because ruby was making references to other instances  
if  
that makes sense?

Brian
