# RubyGem version error: activesupport(2.1.0 not = 2.0.2) (Gem::LoadError)

**URL:** <https://www.ruby-forum.com/t/rubygem-version-error-activesupport-2-1-0-not-2-0-2-gem-loaderror/141333>\
**Category:** Rails\
**Created:** [June 24, 2008, 6:55pm UTC](https://www.ruby-forum.com/t/rubygem-version-error-activesupport-2-1-0-not-2-0-2-gem-loaderror/141333 "2008-06-24T18:55:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://www.ruby-forum.com/u/steve)\
**Post date:** [June 24, 2008, 6:55pm UTC](https://www.ruby-forum.com/t/rubygem-version-error-activesupport-2-1-0-not-2-0-2-gem-loaderror/141333/1 "2008-06-24T18:55:27Z")

</div>

need to change the hardcoded gem version in the environment and remove  
old gem then load the new gem

1. check in config\environment.rb for RAILS\_GEM\_VERSION

RAILS\_GEM\_VERSION = ‘2.1.0’ unless defined? RAILS\_GEM\_VERSION

1. run gem cleanup -v  
gem update
